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:
parent
c532595519
commit
d885048637
2 changed files with 5 additions and 3 deletions
|
@ -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)),
|
DEVICE_DT_DEFINE(DT_NODELABEL(test_dev), dev_init, PM_DEVICE_DT_GET(DT_NODELABEL(test_dev)),
|
||||||
NULL, NULL, POST_KERNEL, 80, NULL);
|
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_0 = DEVICE_DT_GET(DT_NODELABEL(test_reg_0));
|
||||||
const struct device *const reg_1 = DEVICE_DT_GET(DT_NODELABEL(test_reg_1));
|
const struct device *const reg_1 = DEVICE_DT_GET(DT_NODELABEL(test_reg_1));
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
tests:
|
tests:
|
||||||
pm.power_domain.device:
|
pm.power_domain.device:
|
||||||
tags: pm
|
tags:
|
||||||
platform_allow: qemu_cortex_m3
|
- pm
|
||||||
|
platform_allow:
|
||||||
|
- native_posix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue