zephyr/samples/subsys/power/device_pm/sample.yaml
Andy Ross 3cea065954 samples/subsys/power/device_pm: Add test harness integration
Right now this fails needlessly under sanitycheck for lack of a
harness declaration.  It's short, just stuff in a simple regex check.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-06-19 14:37:20 -04:00

19 lines
527 B
YAML

sample:
name: Device Idle Power Management
tests:
sample.power.ospm.dev_idle_pm:
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
tags: power
harness: console
harness_config:
type: multi_line
regex:
- "Device PM sample app start"
- "parent resuming\\.\\."
- "child resuming\\.\\."
- "Async wakeup request queued"
- "Dummy device resumed"
- "child suspending\\.\\."
- "parent suspending\\.\\."
- "Device PM sample app complete"