diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-10-25 11:43:02 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-10-25 11:43:02 -0700 |
| commit | b31d673207814950a80057afcb8e4bb0d66249cd (patch) | |
| tree | 5376ef9722ebff1f6212bed15c699ec1a4ca43ba /tests/run-tests | |
| parent | 5a59a10bf262b97cba358e58e883a0821348d23d (diff) | |
tests: Capture stderr output as well.
Diffstat (limited to 'tests/run-tests')
| -rwxr-xr-x | tests/run-tests | 2 |
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() |
