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
4504e04ce0
zephyr
/
tests
/
kernel
/
fifo
/
fifo_usage
/
prj.conf
5 lines
80 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: kernel: Add fifo usage scenario tests Add k_fifo kernel object usage scenario tests between thread to thread and thread to ISR. This test is inspired from test_fifo legacy test from Zephyr v1.7.0 release. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2018-03-19 21:53:30 +08:00
CONFIG_ZTEST=y
CONFIG_IRQ_OFFLOAD=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
tests: kernel: fifo_usage: move to new ztest API Move tests/kernel/fifo/fifo_usage/ to use new ztest API. Signed-off-by: Guo Lixin <lixinx.guo@intel.com>
2022-07-05 16:28:15 +08:00
CONFIG_ZTEST_NEW_API=y