tests: pm: power_domains: rename testcase, demo is ambigous

Rename testcase and use native_posix for coverage.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-09-26 19:32:35 +00:00
parent c532595519
commit d885048637
2 changed files with 5 additions and 3 deletions

View file

@ -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));

View file

@ -1,4 +1,6 @@
tests:
pm.power_domain.device:
tags: pm
platform_allow: qemu_cortex_m3
tags:
- pm
platform_allow:
- native_posix