diff options
author | stijn <stijn@ignitron.net> | 2015-09-21 12:24:17 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-09-23 11:50:24 +0100 |
commit | dfa915a6af714d6d6f185c0d5a67cd45a9f7acd1 (patch) | |
tree | 29f85e1b0f6d3f09e1df1380bcee44fbb90c0383 /tests | |
parent | fbcaf0ea18d647adc445dc1029392c2a908cf540 (diff) | |
download | micropython-dfa915a6af714d6d6f185c0d5a67cd45a9f7acd1.tar.gz micropython-dfa915a6af714d6d6f185c0d5a67cd45a9f7acd1.zip |
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'
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run-tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-tests b/tests/run-tests index 06a0e3af20..29d2120e0d 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -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): |