Skip to content
Permalink
Browse files

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>
  • Loading branch information...
andyross authored and nashif committed Jun 18, 2019
1 parent b56cc05 commit 3cea065954443f543b5ea1c34aea40ae94f113e3
Showing with 12 additions and 0 deletions.
  1. +12 −0 samples/subsys/power/device_pm/sample.yaml
@@ -4,3 +4,15 @@ 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"

0 comments on commit 3cea065

Please sign in to comment.
You can’t perform that action at this time.