Skip to content

Commit

Permalink
tests/run-tests.py: Add a zephyr test target.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dpgeorge committed Sep 6, 2024
1 parent 0afec39 commit 74d6dba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -1057,6 +1060,7 @@ def main():
"qemu",
"renesas-ra",
"rp2",
"zephyr",
)
if args.list_tests:
pyb = None
Expand Down

0 comments on commit 74d6dba

Please sign in to comment.