From 97af0c8c332a1991cda898eeb2e45bc432600a2b Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 17 Mar 2022 11:12:19 -0400 Subject: [PATCH] tests: remove subsys prefix from test identifier No need for subsys, the subsystem is expected to be the first component of the identifier. Signed-off-by: Anas Nashif --- tests/subsys/canbus/isotp/conformance/testcase.yaml | 2 +- tests/subsys/canbus/isotp/implementation/testcase.yaml | 2 +- tests/subsys/logging/log_backend_fs/testcase.yaml | 8 ++++---- tests/subsys/modbus/testcase.yaml | 4 ++-- tests/subsys/pm/device_power_domains/testcase.yaml | 2 +- tests/subsys/pm/device_runtime_api/testcase.yaml | 2 +- tests/subsys/pm/policy_api/testcase.yaml | 3 +-- tests/subsys/pm/power_domain/testcase.yaml | 2 +- tests/subsys/pm/power_mgmt/testcase.yaml | 2 +- tests/subsys/pm/power_mgmt_multicore/testcase.yaml | 2 +- tests/subsys/pm/power_mgmt_soc/testcase.yaml | 2 +- tests/subsys/pm/power_states_api/testcase.yaml | 2 +- 12 files changed, 16 insertions(+), 17 deletions(-) diff --git a/tests/subsys/canbus/isotp/conformance/testcase.yaml b/tests/subsys/canbus/isotp/conformance/testcase.yaml index b7eded01509..222b854df31 100644 --- a/tests/subsys/canbus/isotp/conformance/testcase.yaml +++ b/tests/subsys/canbus/isotp/conformance/testcase.yaml @@ -1,5 +1,5 @@ tests: - subsys.canbus.isotp.conformance: + canbus.isotp.conformance: tags: can isotp depends_on: can filter: dt_chosen_enabled("zephyr,canbus") diff --git a/tests/subsys/canbus/isotp/implementation/testcase.yaml b/tests/subsys/canbus/isotp/implementation/testcase.yaml index 03c5650d894..1262b766522 100644 --- a/tests/subsys/canbus/isotp/implementation/testcase.yaml +++ b/tests/subsys/canbus/isotp/implementation/testcase.yaml @@ -1,5 +1,5 @@ tests: - subsys.canbus.isotp.implementation: + canbus.isotp.implementation: tags: can isotp depends_on: can filter: dt_chosen_enabled("zephyr,canbus") diff --git a/tests/subsys/logging/log_backend_fs/testcase.yaml b/tests/subsys/logging/log_backend_fs/testcase.yaml index 45ca28c37be..2a56572b4bb 100644 --- a/tests/subsys/logging/log_backend_fs/testcase.yaml +++ b/tests/subsys/logging/log_backend_fs/testcase.yaml @@ -1,16 +1,16 @@ tests: - subsys.logging.log_backend_fs.automounted: + logging.log_backend_fs.automounted: platform_allow: native_posix native_posix_64 nrf52840dk_nrf52840 tags: logging backend filesystem fs - subsys.logging.log_backend_fs.manualmounted.native_posix: + logging.log_backend_fs.manualmounted.native_posix: platform_allow: native_posix tags: logging backend filesystem fs extra_args: DTC_OVERLAY_FILE="./boards/native_posix.overlay;./boards/automount.overlay" - subsys.logging.log_backend_fs.manualmounted.native_posix_64: + logging.log_backend_fs.manualmounted.native_posix_64: platform_allow: native_posix_64 tags: logging backend filesystem fs extra_args: DTC_OVERLAY_FILE="./boards/native_posix_64.overlay;./boards/automount.overlay" - subsys.logging.log_backend_fs.manualmounted.nrf5840dk: + logging.log_backend_fs.manualmounted.nrf5840dk: platform_allow: nrf52840dk_nrf52840 tags: logging backend filesystem fs extra_args: DTC_OVERLAY_FILE="./boards/nrf52840dk_nrf52840.overlay;./boards/automount.overlay" diff --git a/tests/subsys/modbus/testcase.yaml b/tests/subsys/modbus/testcase.yaml index e646d84d8ff..acaa708587e 100644 --- a/tests/subsys/modbus/testcase.yaml +++ b/tests/subsys/modbus/testcase.yaml @@ -1,5 +1,5 @@ tests: - subsys.modbus.rtu: + modbus.rtu: tags: modbus platform_allow: frdm_k64f harness_config: @@ -7,7 +7,7 @@ tests: # UART3(PTC16)-RX <-> UART2(PTD3)-TX # UART3(PTC17)-TX <-> UART2(PTD2)-RX fixture: uart_loopback - subsys.modbus.rtu.build_only: + modbus.rtu.build_only: build_only: true tags: modbus filter: CONFIG_UART_CONSOLE and CONFIG_UART_INTERRUPT_DRIVEN diff --git a/tests/subsys/pm/device_power_domains/testcase.yaml b/tests/subsys/pm/device_power_domains/testcase.yaml index 6bbfaa49c14..cc661ae8561 100644 --- a/tests/subsys/pm/device_power_domains/testcase.yaml +++ b/tests/subsys/pm/device_power_domains/testcase.yaml @@ -1,4 +1,4 @@ tests: - subsys.pm.device_power_domains: + pm.power_domain.device: tags: pm platform_allow: qemu_cortex_m3 diff --git a/tests/subsys/pm/device_runtime_api/testcase.yaml b/tests/subsys/pm/device_runtime_api/testcase.yaml index 54f6a7099ec..0864049ec19 100644 --- a/tests/subsys/pm/device_runtime_api/testcase.yaml +++ b/tests/subsys/pm/device_runtime_api/testcase.yaml @@ -1,3 +1,3 @@ tests: - subsys.pm.device_runtime_api: + pm.device_runtime.api: tags: pm diff --git a/tests/subsys/pm/policy_api/testcase.yaml b/tests/subsys/pm/policy_api/testcase.yaml index 30388e9a05b..da8011f7333 100644 --- a/tests/subsys/pm/policy_api/testcase.yaml +++ b/tests/subsys/pm/policy_api/testcase.yaml @@ -5,7 +5,6 @@ common: tags: pm platform_allow: native_posix native_posix_64 tests: - subsys.pm.policy_api_default: {} - subsys.pm.policy_api_custom: + pm.policy.api.app: extra_configs: - CONFIG_PM_POLICY_CUSTOM=y diff --git a/tests/subsys/pm/power_domain/testcase.yaml b/tests/subsys/pm/power_domain/testcase.yaml index 811dcf41158..e2f81406806 100644 --- a/tests/subsys/pm/power_domain/testcase.yaml +++ b/tests/subsys/pm/power_domain/testcase.yaml @@ -1,4 +1,4 @@ tests: - subsys.pm.power_domain: + pm.power_domain: platform_allow: native_posix tags: pm diff --git a/tests/subsys/pm/power_mgmt/testcase.yaml b/tests/subsys/pm/power_mgmt/testcase.yaml index 6fa8a2003f8..d08f0386aa2 100644 --- a/tests/subsys/pm/power_mgmt/testcase.yaml +++ b/tests/subsys/pm/power_mgmt/testcase.yaml @@ -1,4 +1,4 @@ tests: - subsys.pm.system: + pm.system: platform_allow: native_posix tags: pm diff --git a/tests/subsys/pm/power_mgmt_multicore/testcase.yaml b/tests/subsys/pm/power_mgmt_multicore/testcase.yaml index d167cacb041..69ea59eea20 100644 --- a/tests/subsys/pm/power_mgmt_multicore/testcase.yaml +++ b/tests/subsys/pm/power_mgmt_multicore/testcase.yaml @@ -1,4 +1,4 @@ tests: - subsys.pm.multicore: + pm.multicore: platform_allow: qemu_x86_64 tags: pm diff --git a/tests/subsys/pm/power_mgmt_soc/testcase.yaml b/tests/subsys/pm/power_mgmt_soc/testcase.yaml index 7176cde6755..333a8fd10e7 100644 --- a/tests/subsys/pm/power_mgmt_soc/testcase.yaml +++ b/tests/subsys/pm/power_mgmt_soc/testcase.yaml @@ -1,5 +1,5 @@ tests: - subsys.pm.pm_soc: + pm.soc: platform_allow: cc26x2r1_launchxl cc1352r1_launchxl mec15xxevb_assy6853 mec1501modular_assy6885 nucleo_wb55rg nucleo_l476rg twr_ke18f tags: pm diff --git a/tests/subsys/pm/power_states_api/testcase.yaml b/tests/subsys/pm/power_states_api/testcase.yaml index f5412e9e462..507e8f3e22f 100644 --- a/tests/subsys/pm/power_states_api/testcase.yaml +++ b/tests/subsys/pm/power_states_api/testcase.yaml @@ -1,4 +1,4 @@ tests: - pm-states-api.dts: + pm.states.api.dts: tags: pm platform_allow: native_posix