summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2022-05-20 19:45:07 -0500
committerDamien George <damien@micropython.org>2022-05-24 00:52:44 +1000
commitd42d35f56d836dca843de30df4c2d069911dc9da (patch)
tree0f0ecce4866077a83856c77b854742191ef3574c /tools
parentc012318d74fed232b1c872a1a0cacf91ebcb1b6d (diff)
tests/run-tests.py: Enable `-X realtime` option for macOS tests.
This enables the new `-X realtime` runtime option when running tests on macOS. This causes MicroPython to configure all threads to be high priority so that they are allowed to use high precision timers. This makes tests that depend on the passage of time more likely to succeed. CI tests that were disabled because of this are now enabled again. Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci.sh3
1 files changed, 1 insertions, 2 deletions
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 {