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'
This commit is contained in:
parent
fbcaf0ea18
commit
dfa915a6af
@ -77,7 +77,7 @@ def run_micropython(pyb, args, test_file):
|
|||||||
else:
|
else:
|
||||||
output_mupy = subprocess.check_output(args + [test_file])
|
output_mupy = subprocess.check_output(args + [test_file])
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
output_mupy = b'CRASH'
|
return b'CRASH'
|
||||||
|
|
||||||
# unescape wanted regex chars and escape unwanted ones
|
# unescape wanted regex chars and escape unwanted ones
|
||||||
def convert_regex_escapes(line):
|
def convert_regex_escapes(line):
|
||||||
|
Loading…
Reference in New Issue
Block a user