Skip to content
Snippets Groups Projects
Commit 57b5ee2f authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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.
parent a78703f1
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ def run_micropython(pyb, args, test_file, is_special=False):
output_mupy = output_mupy.replace(b'\r\n', b'\n')
# don't try to convert the output if we should skip this test
if output_mupy == b'SKIP\n':
if output_mupy in (b'SKIP\n', b'CRASH'):
return output_mupy
if is_special or test_file in special_tests:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment