Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: benchmarks: Correct tags used for coverage analysis #20014

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions tests/benchmarks/multicore/idle_adc/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
common:
sysbuild: true
depends_on: adc
tags:
- ci_build
- ci_tests_benchmarks_multicore
- adc
- ppk_power_measure

tests:
benchmarks.multicore.idle_adc.nrf54h20dk_cpuapp_cpurad.s2ram:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- adc
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -23,6 +23,10 @@ tests:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_adc"

benchmarks.multicore.idle_adc.nrf54h20dk_cpuapp_cpurad.coverage:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- adc
filter: CONFIG_COVERAGE
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
Expand Down
15 changes: 11 additions & 4 deletions tests/benchmarks/multicore/idle_clock_control/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
common:
sysbuild: true
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ppk_power_measure

tests:
benchmarks.multicore.idle_clock_control.app:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -21,6 +21,10 @@ tests:

# note: in this scenario cpuapp is the 'remote'
benchmarks.multicore.idle_clock_control.rad:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -44,6 +48,9 @@ tests:
timeout: 90

benchmarks.multicore.idle_clock_control.coverage:
tags:
- ci_build
- ci_tests_benchmarks_multicore
filter: CONFIG_COVERAGE
harness: console
harness_config:
Expand Down
16 changes: 12 additions & 4 deletions tests/benchmarks/multicore/idle_comp/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
common:
sysbuild: true
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ppk_power_measure

tests:
benchmarks.multicore.idle_comp.nrf54h20dk_cpuapp_cpurad.s2ram:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -21,6 +22,10 @@ tests:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_comp"

benchmarks.multicore.idle_lpcomp.nrf54h20dk_cpuapp_cpurad.s2ram:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -36,6 +41,9 @@ tests:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_lpcomp"

benchmarks.multicore.idle_lpcomp.nrf54h20dk_cpuapp_cpurad.coverage:
tags:
- ci_build
- ci_tests_benchmarks_multicore
filter: CONFIG_COVERAGE
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
Expand Down
16 changes: 10 additions & 6 deletions tests/benchmarks/multicore/idle_exmif/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
common:
sysbuild: true
depends_on: gpio
tags:
- ci_build
- ci_tests_benchmarks_multicore
- exmif
- ppk_power_measure
depends_on: spi

tests:
benchmarks.multicore.idle_exmif.nrf54h20dk_cpuapp_cpurad:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- exmif
- ppk_power_measure
filter: not CONFIG_COVERAGE
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
Expand All @@ -21,6 +21,10 @@ tests:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_exmif_and_s2ram"

benchmarks.multicore.idle_exmif.nrf54h20dk_cpuapp_cpurad.coverage:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- exmif
filter: CONFIG_COVERAGE
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
Expand Down
20 changes: 15 additions & 5 deletions tests/benchmarks/multicore/idle_ipc/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
common:
sysbuild: true
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ipc
- ppk_power_measure

tests:
benchmarks.multicore.idle_ipc.nrf54h20dk_cpuapp_cpurad.s2ram:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ipc
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -19,6 +20,11 @@ tests:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_ipc"

benchmarks.multicore.idle_ipc.shifted.nrf54h20dk_cpuapp_cpurad.s2ram:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ipc
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -33,6 +39,10 @@ tests:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_ipc"

benchmarks.multicore.idle_ipc.shifted.nrf54h20dk_cpuapp_cpurad.coverage:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- ipc
filter: CONFIG_COVERAGE
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
Expand Down
28 changes: 14 additions & 14 deletions tests/benchmarks/multicore/idle_pwm_led/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,6 @@ tests:
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_s2ram"

benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.coverage:
filter: CONFIG_COVERAGE
extra_args:
- idle_pwm_led_CONF_FILE=coverage.conf
- SHIELD=coverage_support
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- ".*Coverage analysis enabled.*"
- ".*Coverage analysis start.*"
timeout: 90

benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.idle_fast:
filter: not CONFIG_COVERAGE
tags: ppk_power_measure
Expand Down Expand Up @@ -87,3 +73,17 @@ tests:
fixture: ppk_power_measure
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_s2ram"

benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.coverage:
filter: CONFIG_COVERAGE
extra_args:
- idle_pwm_led_CONF_FILE=coverage.conf
- SHIELD=coverage_support
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- ".*Coverage analysis enabled.*"
- ".*Coverage analysis start.*"
timeout: 90
28 changes: 14 additions & 14 deletions tests/benchmarks/multicore/idle_pwm_loopback/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,6 @@ tests:
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_s2ram"

benchmarks.multicore.idle_pwm_loopback.nrf54h20dk_cpuapp_cpurad.coverage:
filter: CONFIG_COVERAGE
extra_args:
- idle_pwm_loopback_CONF_FILE=coverage.conf
- SHIELD=coverage_support
harness: console
harness_config:
fixture: spi_loopback
type: multi_line
ordered: true
regex:
- ".*Coverage analysis enabled.*"
- ".*Coverage analysis start.*"

benchmarks.multicore.idle_pwm_loopback.nrf54h20dk_cpuapp_cpurad.no_sleep_fast:
filter: not CONFIG_COVERAGE
extra_args:
Expand Down Expand Up @@ -161,3 +147,17 @@ tests:
fixture: spi_loopback
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_s2ram_with_clock_control"

benchmarks.multicore.idle_pwm_loopback.nrf54h20dk_cpuapp_cpurad.coverage:
filter: CONFIG_COVERAGE
extra_args:
- idle_pwm_loopback_CONF_FILE=coverage.conf
- SHIELD=coverage_support
harness: console
harness_config:
fixture: spi_loopback
type: multi_line
ordered: true
regex:
- ".*Coverage analysis enabled.*"
- ".*Coverage analysis start.*"
17 changes: 11 additions & 6 deletions tests/benchmarks/multicore/idle_spim/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
common:
sysbuild: true
depends_on: spi
tags:
- ci_build
- ci_tests_benchmarks_multicore
- spim
- ppk_power_measure

tests:
benchmarks.multicore.idle_spim.nrf54h20dk_cpuapp_cpurad.s2ram:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- spim
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -21,7 +22,11 @@ tests:
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_spim"

benchmarks.multicore.idle_spim.nrf54h20dk_cpuapp_cpurad.coverge:
benchmarks.multicore.idle_spim.nrf54h20dk_cpuapp_cpurad.coverage:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- spim
filter: CONFIG_COVERAGE
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
Expand Down
28 changes: 14 additions & 14 deletions tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,6 @@ tests:
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

benchmarks.multicore.idle_spim_loopback.coverage:
filter: CONFIG_COVERAGE
extra_args:
- SHIELD=coverage_support
- CONF_FILE=coverage.conf
harness: console
harness_config:
fixture: spi_loopback
type: multi_line
ordered: true
regex:
- ".*Coverage analysis enabled.*"
- ".*Coverage analysis start.*"

benchmarks.multicore.idle_spim_loopback.4_bytes.no_sleep_fast:
filter: not CONFIG_COVERAGE
extra_args:
Expand Down Expand Up @@ -513,3 +499,17 @@ tests:
fixture: spi_loopback
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

benchmarks.multicore.idle_spim_loopback.coverage:
filter: CONFIG_COVERAGE
extra_args:
- SHIELD=coverage_support
- CONF_FILE=coverage.conf
harness: console
harness_config:
fixture: spi_loopback
type: multi_line
ordered: true
regex:
- ".*Coverage analysis enabled.*"
- ".*Coverage analysis start.*"
17 changes: 11 additions & 6 deletions tests/benchmarks/multicore/idle_twim/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
common:
sysbuild: true
depends_on: i2c
tags:
- ci_build
- ci_tests_benchmarks_multicore
- twim
- ppk_power_measure

tests:
benchmarks.multicore.idle_twim.nrf54h20dk_cpuapp_cpurad.s2ram:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- twim
- ppk_power_measure
filter: not CONFIG_COVERAGE
harness: pytest
platform_allow:
Expand All @@ -21,7 +22,11 @@ tests:
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_twim"

benchmarks.multicore.idle_twim.nrf54h20dk_cpuapp_cpurad.coverge:
benchmarks.multicore.idle_twim.nrf54h20dk_cpuapp_cpurad.coverage:
tags:
- ci_build
- ci_tests_benchmarks_multicore
- twim
filter: CONFIG_COVERAGE
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
Expand Down
Loading