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
2c5be79e25
zephyr
/
tests
/
kernel
/
spinlock
/
testcase.yaml
4 lines
83 B
YAML
Raw
Normal View
History
Unescape
Escape
tests/kernel: Add spinlock test Simple test of spinlock semantics. Bounce between two CPUs locking and releasing, validating that nothing changes at unexpected times. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-01-26 06:09:24 +08:00
tests
:
tests: kernel: style, tag, and category fixes Fix coding style, test tags and use categories. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-04-22 05:52:43 +08:00
kernel.multiprocessing
:
tests/kernel/spinlock: No need to use MP API anymore This test was written very early. Spinlocks are required for SMP implementation. They couldn't be tested in terms of it, so the test used the low level MP API instead. But of course that breaks if SMP is actually working and the CPU is already started. No need for that now. Just spawn a thread like any other, and filter the test to run only on SMP systems. Fixes #19319 Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-10-04 00:27:55 +08:00
filter
:
CONFIG_SMP and CONFIG_MP_NUM_CPUS > 1