aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-08-03 01:28:27 +0300
committerGitHub <noreply@github.com>2019-08-03 01:28:27 +0300
commit2e6df380f15643630f984311d8ab9ec693aba223 (patch)
tree879c91447a496094decf60fe685928f9d39f875a /test cases
parentcba23413c58b2089ad752a358aafa3d06edaea4a (diff)
parentd34e53202043abab121ba93fa3922e5b2e4961b8 (diff)
downloadmeson-2e6df380f15643630f984311d8ab9ec693aba223.zip
meson-2e6df380f15643630f984311d8ab9ec693aba223.tar.gz
meson-2e6df380f15643630f984311d8ab9ec693aba223.tar.bz2
Merge pull request #5644 from bonzini/meson-exe-cmdline
Show command line in `ninja -v` for `capture: true` custom targets and generators
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/185 escape and unicode/file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/185 escape and unicode/file.py b/test cases/common/185 escape and unicode/file.py
index af67a09..40fa7ca 100644
--- a/test cases/common/185 escape and unicode/file.py
+++ b/test cases/common/185 escape and unicode/file.py
@@ -6,5 +6,5 @@ import os
with open(sys.argv[1]) as fh:
content = fh.read().replace("{NAME}", sys.argv[2])
-with open(os.path.join(sys.argv[3]), 'w') as fh:
+with open(os.path.join(sys.argv[3]), 'w', errors='replace') as fh:
fh.write(content)