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>
3 lines
38 B
Plaintext
3 lines
38 B
Plaintext
CONFIG_ZTEST=y
|
|
CONFIG_SPIN_VALIDATE=y
|