summaryrefslogtreecommitdiff
path: root/tests/run-tests.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-09-03 12:55:20 +1000
committerDamien George <damien@micropython.org>2024-09-06 20:47:19 +1000
commit74d6dba29423ab92846bb3f1b071d1f500b89efa (patch)
treebc28d9aa803058eb1e6ba7fc9afe7f5692a96173 /tests/run-tests.py
parent0afec3974caf49ce0c2c5f42cb3ac430d98650b4 (diff)
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 <damien@micropython.org>
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-xtests/run-tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py
index 43a9e38d3..7190d3bc3 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 @@ the last matching regex is used:
"qemu",
"renesas-ra",
"rp2",
+ "zephyr",
)
if args.list_tests:
pyb = None