Skip to content

Commit

Permalink
tests: pm/device_runtime: Run in native_sim only
Browse files Browse the repository at this point in the history
This is an API test and it was not designed to run in a real target.
Some attempts to run this test in devices cause the device to hang
after the test execution because the device sleeps and no wake up
source is set.

Fixes #68453

(cherry picked from commit 1ed452b)

Original-Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
GitOrigin-RevId: 1ed452b
Change-Id: I029649239e9887ee2a5e314e452847342a412b91
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5476006
Commit-Queue: Dawid Niedźwiecki <dawidn@google.com>
Tested-by: Dawid Niedźwiecki <dawidn@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Dawid Niedźwiecki <dawidn@google.com>
  • Loading branch information
ceolin authored and Chromeos LUCI committed Apr 23, 2024
1 parent a0c45d6 commit 2404072
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tests/subsys/pm/device_runtime_api/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
common:
tags: pm

tests:
pm.device_runtime.api:
tags: pm
integration_platforms:
- native_sim
platform_allow:
- native_sim
pm.device_runtime.isr_safe.api:
tags: pm
integration_platforms:
- native_sim
platform_allow:
- native_sim
extra_configs:
- CONFIG_TEST_PM_DEVICE_ISR_SAFE=y
- CONFIG_TEST_PM_DEVICE_ISR_SAFE=y

0 comments on commit 2404072

Please sign in to comment.