summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xtests/run-tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-tests b/tests/run-tests
index 6834d59bef..16d5f15eaa 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -145,6 +145,10 @@ def run_micropython(pyb, args, test_file):
# canonical form for all ports/platforms is to use \n for end-of-line
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':
+ return output_mupy
+
if is_special or test_file in special_tests:
# convert parts of the output that are not stable across runs
with open(test_file + '.exp', 'rb') as f: