tests/run-tests.py: Don't include cmdline,io tests for minimal targets.

The unix minimal variant cannot run these tests because:
- it doesn't support -v -v debug printing
- it doesn't have `open()`

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-09-15 13:01:10 +10:00
parent cd6d938710
commit 110bff9422

View File

@@ -1469,11 +1469,9 @@ the last matching regex is used:
test_dirs += (port_specific_test_dir,)
if args.platform in PC_PLATFORMS:
# run PC tests
test_dirs += (
"import",
"io",
"cmdline",
)
test_dirs += ("import",)
if args.build != "minimal":
test_dirs += ("cmdline", "io")
else:
# run tests from these directories
test_dirs = args.test_dirs