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
a64f998645
zephyr
/
tests
/
kernel
/
early_sleep
/
prj.conf
4 lines
57 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: kernel: Add a test to verify early sleep Add a test to verify that k_sleep() can be used to put the calling thread to sleep for a specified number of ticks during system initialization. This test is inspired from legacy test_early_sleep test from v1.7.0 release. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2018-03-03 23:16:01 +08:00
CONFIG_IRQ_OFFLOAD=y
CONFIG_ZTEST=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