aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run-tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-tests b/tests/run-tests
index 9abcd1138..037279c1a 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -120,6 +120,10 @@ def run_tests(pyb, tests, args):
# run Micro Python
output_mupy = run_micropython(pyb, args, test_file)
+ if os.name != 'nt':
+ # It may be the case that we run Windows build under Linux
+ # (using Wine).
+ output_mupy = output_mupy.replace(b'\r\n', b'\n')
if output_mupy == b'SKIP\n' or output_mupy == b'SKIP\r\n':
print("skip ", test_file)