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:
stijn 2015-09-21 12:24:17 +02:00 committed by Damien George
parent fbcaf0ea18
commit dfa915a6af

View File

@ -77,7 +77,7 @@ def run_micropython(pyb, args, test_file):
else:
output_mupy = subprocess.check_output(args + [test_file])
except subprocess.CalledProcessError:
output_mupy = b'CRASH'
return b'CRASH'
# unescape wanted regex chars and escape unwanted ones
def convert_regex_escapes(line):