tests/run-tests.py: Include test files ending in _set as set tests.

Signed-off-by: Damien George <damien@micropython.org>
pull/8350/head
Damien George 2022-03-07 16:45:40 +11:00
rodzic cced9a0128
commit 9a8ee6a5df
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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")