From e693e52442b977ab69bb7c0a9840cc6594251efa Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Tue, 20 Oct 2015 23:55:50 +0100
Subject: [PATCH] tests: Disable some tests for pyboard that do not run
 correctly.

---
 tests/run-tests | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/run-tests b/tests/run-tests
index 85bf372fc..7df956313 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -188,9 +188,12 @@ def run_tests(pyb, tests, args):
 
     # Some tests shouldn't be run on pyboard
     if pyb is not None:
+        skip_tests.add('basics/exception_chain.py') # warning is not printed
         skip_tests.add('float/float_divmod.py') # tested by float/float_divmod_relaxed.py instead
         skip_tests.add('float/float2int_doubleprec.py') # requires double precision floating point to work
         skip_tests.add('micropython/meminfo.py') # output is very different to PC output
+        skip_tests.add('extmod/machine1.py') # raw memory access not supported
+        skip_tests.add('extmod/machine_mem.py') # raw memory access not supported
 
         if args.target == 'wipy':
             skip_tests.add('misc/print_exception.py')       # requires error reporting full
@@ -202,10 +205,7 @@ def run_tests(pyb, tests, args):
             skip_tests.add('extmod/zlibd_decompress.py')    # requires zlib
             skip_tests.add('extmod/ujson_dumps_float.py')   # requires floating point
             skip_tests.add('extmod/ujson_loads_float.py')   # requires floating point
-            skip_tests.add('extmod/machine1.py')            # raw memory access not supported by WiPy
-            skip_tests.add('extmod/machine_mem.py')         # raw memory access not supported by WiPy
             skip_tests.add('extmod/uheapq1.py')             # uheapq not supported by WiPy
-            skip_tests.add('basics/exception_chain.py')     # warning is not printed
 
     # Some tests are known to fail on 64-bit machines
     if pyb is None and platform.architecture()[0] == '64bit':
-- 
GitLab