From 110bff9422701fde392e626d1c60f7c933bf7794 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 15 Sep 2025 13:01:10 +1000 Subject: [PATCH] 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 --- tests/run-tests.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/run-tests.py b/tests/run-tests.py index 0672be771e..404378b794 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -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