Skip to content

Commit dfa915a

Browse files
stinosdpgeorge
authored andcommitted
tests: Omit process output parsing in case of CalledProcessError
Adding a line-end makes the determination of skip_native fail as it compares the output against b'CRASH' while it is in fact b'CRASH\n'
1 parent fbcaf0e commit dfa915a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def run_micropython(pyb, args, test_file):
7777
else:
7878
output_mupy = subprocess.check_output(args + [test_file])
7979
except subprocess.CalledProcessError:
80-
output_mupy = b'CRASH'
80+
return b'CRASH'
8181

8282
# unescape wanted regex chars and escape unwanted ones
8383
def convert_regex_escapes(line):

0 commit comments

Comments
 (0)