From 74d6dba29423ab92846bb3f1b071d1f500b89efa Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 3 Sep 2024 12:55:20 +1000 Subject: [PATCH] tests/run-tests.py: Add a zephyr test target. So that certain tests can be skipped when running on this target. These thread tests do not pass because the zephyr port cannot create more than 4 threads at once. Signed-off-by: Damien George --- tests/run-tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/run-tests.py b/tests/run-tests.py index 43a9e38d327a..7190d3bc31b7 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -637,6 +637,9 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): skip_tests.add("thread/thread_lock2.py") skip_tests.add("thread/thread_lock3.py") skip_tests.add("thread/thread_shared2.py") + elif args.target == "zephyr": + skip_tests.add("thread/stress_heap.py") + skip_tests.add("thread/thread_lock3.py") # Some tests shouldn't be run on pyboard if args.target != "unix": @@ -1057,6 +1060,7 @@ def main(): "qemu", "renesas-ra", "rp2", + "zephyr", ) if args.list_tests: pyb = None