Skip to content

Commit

Permalink
tests: pm: power_domains: rename testcase, demo is ambigous
Browse files Browse the repository at this point in the history
Rename testcase and use native_posix for coverage.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Sep 27, 2023
1 parent c532595 commit d885048
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/subsys/pm/device_power_domains/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
6 changes: 4 additions & 2 deletions tests/subsys/pm/device_power_domains/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
tests:
pm.power_domain.device:
tags: pm
platform_allow: qemu_cortex_m3
tags:
- pm
platform_allow:
- native_posix

0 comments on commit d885048

Please sign in to comment.