diff --git a/tests/benchmarks/multicore/idle_uarte/prj.conf b/tests/benchmarks/multicore/idle_uarte/prj.conf index b0c7890c2a90..59785a532261 100644 --- a/tests/benchmarks/multicore/idle_uarte/prj.conf +++ b/tests/benchmarks/multicore/idle_uarte/prj.conf @@ -1,6 +1,7 @@ CONFIG_SERIAL=y CONFIG_MAIN_STACK_SIZE=2048 CONFIG_UART_ASYNC_API=y +CONFIG_UART_USE_RUNTIME_CONFIGURE=y CONFIG_PM=y CONFIG_PM_S2RAM=y diff --git a/tests/benchmarks/multicore/idle_uarte/src/main.c b/tests/benchmarks/multicore/idle_uarte/src/main.c index f54ca19df1eb..97e3916fa475 100644 --- a/tests/benchmarks/multicore/idle_uarte/src/main.c +++ b/tests/benchmarks/multicore/idle_uarte/src/main.c @@ -83,8 +83,9 @@ int main(void) return -1; } + /* UART is disabled so expect error. */ err = uart_rx_disable(uart_dev); - if (err != 0) { + if (err != -EFAULT) { printk("Unexpected error when disabling RX: %d\n", err); return -1; } diff --git a/tests/benchmarks/multicore/idle_uarte/testcase.yaml b/tests/benchmarks/multicore/idle_uarte/testcase.yaml index 223775d47320..d55bf1944e9a 100644 --- a/tests/benchmarks/multicore/idle_uarte/testcase.yaml +++ b/tests/benchmarks/multicore/idle_uarte/testcase.yaml @@ -13,6 +13,6 @@ tests: extra_args: - SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf harness_config: - fixture: ppk_power_measure + fixture: gpio_loopback pytest_root: - - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption" + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_uarte"