summaryrefslogtreecommitdiff
path: root/tests/run-tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-tests')
-rwxr-xr-xtests/run-tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-tests b/tests/run-tests
index 568d99f8e..23fc3d910 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -103,7 +103,7 @@ def run_micropython(pyb, args, test_file, is_special=False):
os.close(master)
os.close(slave)
else:
- output_mupy = subprocess.check_output(args + [test_file])
+ output_mupy = subprocess.check_output(args + [test_file], stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
return b'CRASH'
@@ -124,7 +124,7 @@ def run_micropython(pyb, args, test_file, is_special=False):
# run the actual test
try:
- output_mupy = subprocess.check_output(cmdlist)
+ output_mupy = subprocess.check_output(cmdlist, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
output_mupy = b'CRASH'