diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-16 17:24:15 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-16 17:59:11 +0300 |
commit | 57b5ee2fcf190e2dcd583d0d0c7712101194fade (patch) | |
tree | d522fe73c072a5a1e393ccb25ca2866a8308f3ad /tests | |
parent | a78703f188f5caef33a0dc3230291c939f3c3034 (diff) | |
download | micropython-57b5ee2fcf190e2dcd583d0d0c7712101194fade.tar.gz micropython-57b5ee2fcf190e2dcd583d0d0c7712101194fade.zip |
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.
Diffstat (limited to '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 61726cc87d..f24fc09617 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -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: |