From 2404072c4436a402bcdb98daf2a21e9a5cb0306e Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Thu, 28 Mar 2024 16:25:55 -0700 Subject: [PATCH] tests: pm/device_runtime: Run in native_sim only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 1ed452b295bedcd7d00bcf0f3c8a0c5a13651faf) Original-Signed-off-by: Flavio Ceolin GitOrigin-RevId: 1ed452b295bedcd7d00bcf0f3c8a0c5a13651faf Change-Id: I029649239e9887ee2a5e314e452847342a412b91 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5476006 Commit-Queue: Dawid Niedźwiecki Tested-by: Dawid Niedźwiecki Tested-by: ChromeOS Prod (Robot) Reviewed-by: Dawid Niedźwiecki --- tests/subsys/pm/device_runtime_api/testcase.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/subsys/pm/device_runtime_api/testcase.yaml b/tests/subsys/pm/device_runtime_api/testcase.yaml index d86f1ba95d8..80ce7bd9beb 100644 --- a/tests/subsys/pm/device_runtime_api/testcase.yaml +++ b/tests/subsys/pm/device_runtime_api/testcase.yaml @@ -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