From dc1ea1156a13c03d74433182e34e2a5fdb638f71 Mon Sep 17 00:00:00 2001 From: stijn Date: Sat, 4 Oct 2014 08:39:15 +0200 Subject: [PATCH] Exclude some tests which always fail on windows --- tests/run-tests | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/run-tests b/tests/run-tests index 20fe1a541..cc1020e60 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -42,6 +42,12 @@ def run_tests(pyb, tests, args): if pyb is None and platform.architecture()[0] == '64bit': pass + # Some tests use unsupported features on Windows + if os.name == 'nt': + skip_tests.add('extmod\\ujson_loads.py') #works but -2e-3 is printed as -0.002000000000000001 except for mingw-w64 + skip_tests.add('import\\import_file.py') #works but CPython prints forward slashes + skip_tests.add('unix\\ffi_float.py') + # Some tests are known to fail with native emitter # Remove them from the below when they work if args.emit == 'native':