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
598ae47ecd
zephyr
/
tests
/
subsys
/
pm
/
device_runtime_api
/
prj.conf
6 lines
94 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: pm: device_runtime: add test for the API Add a test for the device runtime API that makes sure most common usage scenarios behave as expected: - get + put - get + asynchronous put until suspended - get + asynchronous put + get (while suspend still ongoing) Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-10-22 00:43:41 +08:00
CONFIG_ZTEST=y
CONFIG_PM=y
CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
tests: pm: device_runtime: Avoid race condition The test was done with one cpu in mind. In a SMP environment there is race condition where the semaphor can be given before the other thread take block waiting for it. Fixes #40068 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2021-11-09 08:11:16 +08:00
CONFIG_MP_NUM_CPUS=1