diff options
author | Damien George <damien@micropython.org> | 2025-09-15 13:05:46 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-10-02 00:37:29 +1000 |
commit | 1a96f72b5b81e15355526fe933bed92863cec77b (patch) | |
tree | c0db08a1167f01189a582f92272e1593bdf259f0 | |
parent | 1b9a9dde2d9dfc3e6dce7c69a93a54479101963c (diff) |
tests/run-tests.py: Update list of tests that use float.
Signed-off-by: Damien George <damien@micropython.org>
-rwxr-xr-x | tests/run-tests.py | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py index 404378b79..82a6a3d97 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -229,6 +229,36 @@ platform_tests_to_skip = { ), } +# These tests don't test float explicitly but rather use it to perform the test. +tests_requiring_float = ( + "extmod/asyncio_basic.py", + "extmod/asyncio_basic2.py", + "extmod/asyncio_cancel_task.py", + "extmod/asyncio_event.py", + "extmod/asyncio_fair.py", + "extmod/asyncio_gather.py", + "extmod/asyncio_gather_notimpl.py", + "extmod/asyncio_get_event_loop.py", + "extmod/asyncio_iterator_event.py", + "extmod/asyncio_lock.py", + "extmod/asyncio_task_done.py", + "extmod/asyncio_wait_for.py", + "extmod/asyncio_wait_for_fwd.py", + "extmod/asyncio_wait_for_linked_task.py", + "extmod/asyncio_wait_task.py", + "extmod/json_dumps_float.py", + "extmod/json_loads_float.py", + "extmod/random_extra_float.py", + "extmod/select_poll_eintr.py", + "extmod/tls_threads.py", + "extmod/uctypes_le_float.py", + "extmod/uctypes_native_float.py", + "extmod/uctypes_sizeof_float.py", + "misc/rge_sm.py", + "ports/unix/ffi_float.py", + "ports/unix/ffi_float2.py", +) + # These tests don't test slice explicitly but rather use it to perform the test. tests_requiring_slice = ( "basics/builtin_range.py", @@ -907,13 +937,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): skip_tests.add("misc/sys_settrace_features.py") if args.float_prec == 0: - skip_tests.add("extmod/uctypes_le_float.py") - skip_tests.add("extmod/uctypes_native_float.py") - skip_tests.add("extmod/uctypes_sizeof_float.py") - skip_tests.add("extmod/json_dumps_float.py") - skip_tests.add("extmod/json_loads_float.py") - skip_tests.add("extmod/random_extra_float.py") - skip_tests.add("misc/rge_sm.py") + skip_tests.update(tests_requiring_float) if args.float_prec < 32: skip_tests.add( "float/float2int_intbig.py" |