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
/
fifo
/
fifo_timeout
/
prj_poll.conf
5 lines
71 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: kernel: Add fifo timeout scenario tests Add k_fifo kernel object timeout scenario tests like basic k_fifo API tests with timeouts and tests which involve other threads to get/put items from/into k_fifo with timeouts. This test is inspired from test_stack legacy test from Zephyr v1.7.0 release. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2018-03-19 21:55:28 +08:00
CONFIG_ZTEST=y
CONFIG_IRQ_OFFLOAD=y
CONFIG_POLL=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