zephyr/tests
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
..
application_development test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
arch test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
benchmarks test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
bluetooth Bluetooth: Controller: Refactor DF impl to add aux offset in ULL context 2022-08-03 12:02:47 +02:00
boards test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
boot/uefi tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
cmake/config_dir
crypto test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
drivers tests: drivers: sdhc: update SDHC test to new ZTEST api 2022-08-03 12:06:02 +02:00
kernel tests: Use dynamic thread instead of static thread for sys_mutex test 2022-08-03 18:43:42 +02:00
lib test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
misc test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
net tests: net: socket: tcp: Disable preempt test for mps2_an385 2022-08-03 08:56:28 -04:00
posix test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
subsys tests: sdmmc: fix SDMMC test order 2022-08-03 12:06:02 +02:00
unit test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
ztest test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00