Add encoding parameter to fix CI.
The test does not actually fail, but the test runner seems to think
that if _anything_ gets printed to stderr, that is a failure.
https://nibblestew.blogspot.com/2019/04/an-important-message-for-people.html
diff --git a/run_meson_command_tests.py b/run_meson_command_tests.py
index 7265d3e..79a3703 100755
--- a/run_meson_command_tests.py
+++ b/run_meson_command_tests.py
@@ -79,9 +79,13 @@
# If this call hangs CI will just abort. It is very hard to distinguish
# between CI issue and test bug in that case. Set timeout and fail loud
# instead.
- p = subprocess.run(command, stdout=subprocess.PIPE,
- env=env, text=True,
- cwd=workdir, timeout=60 * 5)
+ p = subprocess.run(command,
+ stdout=subprocess.PIPE,
+ env=env,
+ encoding='utf-8',
+ text=True,
+ cwd=workdir,
+ timeout=60 * 5)
print(p.stdout)
if p.returncode != 0:
raise subprocess.CalledProcessError(p.returncode, command)