zephyr/samples/subsys/pm/device_pm/sample.yaml
Anas Nashif 42d8f7ff17 samples: pm: fix init priority after init level change
Moving from APPLICATION level to POST_KERNEL and keeping both parent and
child on the same level is causing problems, so fix this by putting them
on different priorities in POST_KERNEL.

Also, this sample runs fine in qemu, so make it the integration
platform.

Fixes #62772

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-09-21 13:59:46 +02:00

26 lines
654 B
YAML

sample:
name: Device Idle Power Management
tests:
sample.power.ospm.dev_idle_pm:
platform_allow:
- nrf52840dk_nrf52840
- nrf52dk_nrf52832
- qemu_x86
- mps2_an385
integration_platforms:
- qemu_x86
tags: power
harness: console
harness_config:
type: multi_line
regex:
- "parent suspending\\.\\."
- "child suspending\\.\\."
- "Device PM sample app start"
- "parent resuming\\.\\."
- "child resuming\\.\\."
- "Dummy device resumed"
- "child suspending\\.\\."
- "parent suspending\\.\\."
- "Device PM sample app complete"