Skip to content

Commit 57b5ee2

Browse files
committed
tests/run-tests: Don't post-process CRASH result in any way.
If we got a CRASH result, return early, similar to SKIP. This is important because previous refactor changed branching logic a bit, so CRASH now gets post-processed into CRASH\n, which broke remote hardware tests.
1 parent a78703f commit 57b5ee2

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
@@ -145,7 +145,7 @@ def run_micropython(pyb, args, test_file, is_special=False):
145145
output_mupy = output_mupy.replace(b'\r\n', b'\n')
146146

147147
# don't try to convert the output if we should skip this test
148-
if output_mupy == b'SKIP\n':
148+
if output_mupy in (b'SKIP\n', b'CRASH'):
149149
return output_mupy
150150

151151
if is_special or test_file in special_tests:

0 commit comments

Comments
 (0)