summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorstijn <stinos@zoho.com>2014-10-04 08:39:15 +0200
committerstijn <stinos@zoho.com>2014-10-05 09:32:26 +0200
commitdc1ea1156a13c03d74433182e34e2a5fdb638f71 (patch)
tree73d209be0435ccc4e2b9dae5021ad7f004ea3354
parenta2f9c9445af51229becf7410a5c102a2ca27c182 (diff)
downloadmicropython-dc1ea1156a13c03d74433182e34e2a5fdb638f71.tar.gz
micropython-dc1ea1156a13c03d74433182e34e2a5fdb638f71.zip
Exclude some tests which always fail on windows
-rwxr-xr-xtests/run-tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-tests b/tests/run-tests
index 20fe1a541a..cc1020e60a 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':