This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
62b985409e
zephyr
/
tests
/
kernel
/
mutex
/
mutex_api
/
prj.conf
5 lines
81 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: add mutex api test cases which use unified kernel add unified kernel mutext test cases which covere basic mutex apis under different conditions - timeout, no_wait, forever Change-Id: Iaab5bba80a6eebd89bfe675352d67b27024ad7bb Signed-off-by: jing wang <jing.j.wang@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-11-17 10:39:42 +08:00
CONFIG_ZTEST=y
CONFIG_IRQ_OFFLOAD=y
tests: mutex_api: run in user mode Addresses coverage gaps. Some changes were made so that exited threads do not have k_thread_abort() called on them. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-06-12 03:48:44 +08:00
CONFIG_TEST_USERSPACE=y
tests: Never disable SMP Disabling SMP mode for certain tests was a one-release thing, done to avoid having to triage every test independently (MANY are not SMP-safe), and with the knowledge that it was probably hiding bugs in the kernel. Turn it on pervasively. Tests are treated with a combination of flagging specific cases as "1cpu" where we have short-running tests that can be independently run in an otherwise SMP environment, and via setting CONFIG_MP_NUM_CPUS=1 where that's not possible (which still runs the full SMP kernel config, but with only one CPU available). Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-08-20 23:42:43 +08:00
CONFIG_MP_NUM_CPUS=1