summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-04-16 17:24:15 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-04-16 17:59:11 +0300
commit57b5ee2fcf190e2dcd583d0d0c7712101194fade (patch)
treed522fe73c072a5a1e393ccb25ca2866a8308f3ad /tests
parenta78703f188f5caef33a0dc3230291c939f3c3034 (diff)
downloadmicropython-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-xtests/run-tests2
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: