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
233d6c87e6
zephyr
/
tests
/
kernel
/
spinlock
/
testcase.yaml
4 lines
92 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: new updated names for the kernel tests After run Sanitycheck script I found out that some test cases have the same test case name in the test result .xml file. To get rid of it, I decided to change test cases names for the kernel tests. Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>
2019-10-24 10:59:47 +08:00
kernel.multiprocessing.spinlock
:
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