Skip to content

Commit b31d673

Browse files
committed
tests: Capture stderr output as well.
1 parent 5a59a10 commit b31d673

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def run_micropython(pyb, args, test_file, is_special=False):
124124

125125
# run the actual test
126126
e = {"MICROPYPATH": os.getcwd() + ":", "LANG": "en_US.UTF-8"}
127-
p = subprocess.Popen(cmdlist, env=e, stdout=subprocess.PIPE)
127+
p = subprocess.Popen(cmdlist, env=e, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
128128
output_mupy = b''
129129
while p.poll() is None:
130130
output_mupy += p.stdout.read()

0 commit comments

Comments
 (0)