Skip to content
Snippets Groups Projects
Commit 533129f8 authored by stijn's avatar stijn Committed by Damien George
Browse files

tests: Make sure special tests can be skipped as well.

Fixes #2806.
parent c707668d
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment