summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-10-14 17:15:35 +0200
committerDavid Robillard <d@drobilla.net>2018-10-14 17:15:35 +0200
commitda07e73814feaf6fcece0d0b0361063fe3971fba (patch)
tree3b8905c2ef6c3048aee2a506a2031cebad1e4cdb
parent6e726eb11d3e21be410549d27dd1aa94678f3d09 (diff)
downloadautowaf-da07e73814feaf6fcece0d0b0361063fe3971fba.tar.gz
autowaf-da07e73814feaf6fcece0d0b0361063fe3971fba.tar.bz2
autowaf-da07e73814feaf6fcece0d0b0361063fe3971fba.zip
Fix verbose tests with Python 3
-rw-r--r--extras/autowaf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/autowaf.py b/extras/autowaf.py
index 8f9c633..03f323f 100644
--- a/extras/autowaf.py
+++ b/extras/autowaf.py
@@ -878,8 +878,8 @@ def run_test(ctx,
Logs.pprint('RED', test)
if Options.options.verbose_tests and type(test) != list and not callable(test):
- sys.stdout.write(out[0])
- sys.stderr.write(out[1])
+ sys.stdout.write(out[0].decode('utf-8'))
+ sys.stderr.write(out[1].decode('utf-8'))
return (success, out)