From d885048637d6070182cf3ca832631dc91c85ad14 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 26 Sep 2023 19:32:35 +0000 Subject: [PATCH] tests: pm: power_domains: rename testcase, demo is ambigous Rename testcase and use native_posix for coverage. Signed-off-by: Anas Nashif --- tests/subsys/pm/device_power_domains/src/main.c | 2 +- tests/subsys/pm/device_power_domains/testcase.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/subsys/pm/device_power_domains/src/main.c b/tests/subsys/pm/device_power_domains/src/main.c index 50726bcef199e1..6123a8a5f54c37 100644 --- a/tests/subsys/pm/device_power_domains/src/main.c +++ b/tests/subsys/pm/device_power_domains/src/main.c @@ -29,7 +29,7 @@ PM_DEVICE_DT_DEFINE(DT_NODELABEL(test_dev), dev_pm_control); DEVICE_DT_DEFINE(DT_NODELABEL(test_dev), dev_init, PM_DEVICE_DT_GET(DT_NODELABEL(test_dev)), NULL, NULL, POST_KERNEL, 80, NULL); -ZTEST(device_power_domain, test_demo) +ZTEST(device_power_domain, test_device_power_domain) { const struct device *const reg_0 = DEVICE_DT_GET(DT_NODELABEL(test_reg_0)); const struct device *const reg_1 = DEVICE_DT_GET(DT_NODELABEL(test_reg_1)); diff --git a/tests/subsys/pm/device_power_domains/testcase.yaml b/tests/subsys/pm/device_power_domains/testcase.yaml index cc661ae8561661..11b00299f5c405 100644 --- a/tests/subsys/pm/device_power_domains/testcase.yaml +++ b/tests/subsys/pm/device_power_domains/testcase.yaml @@ -1,4 +1,6 @@ tests: pm.power_domain.device: - tags: pm - platform_allow: qemu_cortex_m3 + tags: + - pm + platform_allow: + - native_posix