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
82c65315d3
zephyr
/
tests
/
kernel
/
spinlock
/
prj.conf
3 lines
38 B
Plaintext
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
CONFIG_ZTEST=y
tests: spinlock: add some error test cases Add some error test cases for spinlock, include: 1.Validate indentical spinlock cannot be used recursively. 2.Validate unlocking incorrect spinlock will trigger assertion. 3.Validate releasing incorrect spinlock will trigger assertion. Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
2020-12-23 00:07:32 +08:00
CONFIG_SPIN_VALIDATE=y