tests/run-tests.py: Skip additional tests when slice unavailable.

Both of these tests require slice to be enabled.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2024-08-19 12:15:17 +10:00
parent b095c097e6
commit 86aa61918a
1 changed files with 2 additions and 0 deletions

View File

@ -563,6 +563,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
# These tests don't test slice explicitly but rather use it to perform the test
misc_slice_tests = (
"builtin_range",
"bytearray1",
"class_super",
"containment",
"errno1",
@ -573,6 +574,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
"memoryview_gc",
"object1",
"python34",
"string_format_modulo",
"struct_endian",
)