summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-10-25 11:43:02 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-10-25 11:43:02 -0700
commitb31d673207814950a80057afcb8e4bb0d66249cd (patch)
tree5376ef9722ebff1f6212bed15c699ec1a4ca43ba /tests
parent5a59a10bf262b97cba358e58e883a0821348d23d (diff)
tests: Capture stderr output as well.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-tests b/tests/run-tests
index 6af8b905a..4024d61df 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -124,7 +124,7 @@ def run_micropython(pyb, args, test_file, is_special=False):
# run the actual test
e = {"MICROPYPATH": os.getcwd() + ":", "LANG": "en_US.UTF-8"}
- p = subprocess.Popen(cmdlist, env=e, stdout=subprocess.PIPE)
+ p = subprocess.Popen(cmdlist, env=e, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
output_mupy = b''
while p.poll() is None:
output_mupy += p.stdout.read()