Commit dfa915a6 authored by stijn's avatar stijn Committed by Damien George
Browse files

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'
parent fbcaf0ea
......@@ -77,7 +77,7 @@ def run_micropython(pyb, args, test_file):
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):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment