zephyr/tests/kernel
Ming Shao 2daae30ec3 tests: Use dynamic thread instead of static thread for sys_mutex test
As of now, both the old and new ztest framework don't have a logic to
launch static threads. Static threads can only be launched by Zephyr
itself during boot.  If a test interact with static threads, when it
is executed multiple times without reboot, only the first few runs can
have static threads to interact with. After the static threads exit,
later runs will have nothing to interact with, which can lead to failure.
One unfortunate example is the sys_mutex test.
This commit replaces static threads with dynamic thread to make the test
repeatable. In future, maybe static threads launching logic should  be
covered by the ztest framework so richer scenarios can be tested.

Signed-off-by: Ming Shao <ming.shao@intel.com>
2022-08-03 18:43:42 +02:00
..
common test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
condvar/condvar_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
context soc: arch: synopsys: move timer0/1 IRQ information to DT 2022-08-03 07:46:14 -04:00
device test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
early_sleep test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
events test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
fatal tests: kernel: exception: Disable infinite recursion warning 2022-08-03 05:03:28 +01:00
fifo test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
fpu_sharing tests: fpu_sharing/generic: Remove qemu_leon3 workaround 2022-08-03 12:05:49 +02:00
gen_isr_table test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
interrupt test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
lifo test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
mbox test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
mem_heap test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
mem_protect test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
mem_slab test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
mp test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
msgq test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
mutex tests: Use dynamic thread instead of static thread for sys_mutex test 2022-08-03 18:43:42 +02:00
obj_tracking test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
pending test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
pipe test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
poll test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
profiling/profiling_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
queue test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
sched test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
semaphore test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
sleep test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
smp test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
smp_boot_delay test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
spinlock test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
stack/stack test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
threads test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
tickless/tickless_concept test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
timer test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
usage/thread_runtime_stats test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
workq test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
xip test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00