summaryrefslogtreecommitdiff
path: root/tests/run-tests.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-03-07 16:45:40 +1100
committerDamien George <damien@micropython.org>2022-03-07 16:48:35 +1100
commit9a8ee6a5df8d59d0c88a14d81fe40ad95a31c1e4 (patch)
tree4df21cd20b08d2ad920fb73e1bb356905c6ea8c0 /tests/run-tests.py
parentcced9a0128a5fba99868b6fa091b26fec3119f54 (diff)
tests/run-tests.py: Include test files ending in _set as set tests.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-xtests/run-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py
index f9a16283b..edd20b9bd 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -548,7 +548,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
is_endian = test_name.endswith("_endian")
is_int_big = test_name.startswith("int_big") or test_name.endswith("_intbig")
is_bytearray = test_name.startswith("bytearray") or test_name.endswith("_bytearray")
- is_set_type = test_name.startswith("set_") or test_name.startswith("frozenset")
+ is_set_type = test_name.startswith(("set_", "frozenset")) or test_name.endswith("_set")
is_slice = test_name.find("slice") != -1 or test_name in misc_slice_tests
is_async = test_name.startswith(("async_", "uasyncio_"))
is_const = test_name.startswith("const")