summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/run-tests.py2
-rwxr-xr-xtools/ci.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py
index 1fc857601..0cfd50f5c 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -258,6 +258,8 @@ def run_micropython(pyb, args, test_file, is_special=False):
cmdlist = [MICROPYTHON, "-X", "emit=" + args.emit]
if args.heapsize is not None:
cmdlist.extend(["-X", "heapsize=" + args.heapsize])
+ if sys.platform == "darwin":
+ cmdlist.extend(["-X", "realtime"])
# if running via .mpy, first compile the .py file
if args.via_mpy:
diff --git a/tools/ci.sh b/tools/ci.sh
index 3d084508f..67be9dad7 100755
--- a/tools/ci.sh
+++ b/tools/ci.sh
@@ -572,10 +572,9 @@ function ci_unix_macos_build {
function ci_unix_macos_run_tests {
# Issues with macOS tests:
- # - OSX has poor time resolution and these uasyncio tests do not have correct output
# - import_pkg7 has a problem with relative imports
# - urandom_basic has a problem with getrandbits(0)
- (cd tests && ./run-tests.py --exclude 'uasyncio_(basic|gather|heaplock|lock|wait_task)' --exclude 'import_pkg7.py' --exclude 'urandom_basic.py')
+ (cd tests && ./run-tests.py --exclude 'import_pkg7.py' --exclude 'urandom_basic.py')
}
function ci_unix_qemu_mips_setup {