zephyr/subsys/testsuite/ztest
Piotr Mienkowski 41c10d4f66 ztest: fix ztest thread priority in cooperative mode
By default ztest thread is running at the priority `-1`. This value is
invalid when the testcase is running in cooperative mode only. Set
default ztest thread priority to `-2` if this is the case. The fix is
modeled on the approach used to define the default
`MAIN_THREAD_PRIORITY`.

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2021-04-21 08:10:36 -05:00
..
include tests: ztest: Fix assert hook dependency 2021-03-22 15:59:25 -04:00
src userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
CMakeLists.txt tests: ztest: add a common fatal and assert hook for special purpose 2021-01-13 09:05:31 -05:00
Kconfig ztest: fix ztest thread priority in cooperative mode 2021-04-21 08:10:36 -05:00