- 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> |
||
|---|---|---|
| .. | ||
| main.c | ||
| test_essential_thread.c | ||
| test_kthread_for_each.c | ||
| test_threads_cancel_abort.c | ||
| test_threads_cpu_mask.c | ||
| test_threads_set_priority.c | ||
| test_threads_spawn.c | ||
| test_threads_suspend_resume.c | ||
| tests_thread_apis.h | ||