zephyr/tests/kernel/threads/thread_apis/src
Anas Nashif afc319e3fa ztest: shell: add shell support
- Support for listing both testcases and testsuites
- Support for running single suites or single test cases
- Support shuffling tests and repeating execution based on command line
  arguments.

For example, build with

west build -p  -b qemu_cortex_m3  tests/kernel/sleep   -t run -- \
-DCONFIG_ZTEST_SHUFFLE=y -DCONFIG_ZTEST_SHELL=y

Following commands are available:

uart:~$ ztest
ztest - Ztest commands
Subcommands:
  run-all          :Run all tests
  shuffle          :Shuffle tests
  list-testsuites  :List all test suites
  list-testcases   :List all test cases
  run-testsuite    :Run test suite
  run-testcase     :Run testcase

shuffle accepts two arguments --suite_iter and --case_iter which allows
repeated exercution of testcases or suites.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-01-09 09:58:57 +01:00
..
main.c ztest: shell: add shell support 2024-01-09 09:58:57 +01:00
test_essential_thread.c tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
test_kthread_for_each.c tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
test_threads_cancel_abort.c tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
test_threads_cpu_mask.c
test_threads_set_priority.c tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
test_threads_spawn.c
test_threads_suspend_resume.c
tests_thread_apis.h