From b31d673207814950a80057afcb8e4bb0d66249cd Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Wed, 25 Oct 2017 11:43:02 -0700 Subject: tests: Capture stderr output as well. --- tests/run-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/run-tests') 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() -- cgit v1.2.3