tests/run-tests.py: Include test files ending in _set as set tests.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
cced9a0128
commit
9a8ee6a5df
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue