zephyr/tests/subsys/secure_storage/psa/its/testcase.yaml
Tomi Fontanilles 561ee12597 tests: secure_storage: speed up psa.its.secure_storage.custom.transform
It would time out when run on-device due to the NVS setting backend being
incredibly slow once enough entries exist.

Also, rename the tests which use different store implementations to make
that explicit.

Fixes https://github.com/zephyrproject-rtos/zephyr/issues/83210.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2025-01-07 18:24:33 +01:00

55 lines
2.0 KiB
YAML

common:
integration_platforms:
- native_sim
- nrf54l15dk/nrf54l15/cpuapp
platform_exclude:
- qemu_cortex_m0 # settings subsystem initialization fails
timeout: 600
tags:
- psa.secure_storage
tests:
secure_storage.psa.its.secure_storage.store.zms:
filter: CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_ZMS
# DT-based filtering is not possible for this test scenario.
# Platforms with a storage_partition must be manually added here.
platform_allow:
- native_sim
- mps2/an385
- qemu_x86/atom
- qemu_x86_64/atom
- nrf54l15dk/nrf54l15/cpuapp
- nrf5340dk/nrf5340/cpuapp
- nrf52840dk/nrf52840
- nrf9151dk/nrf9151
- nrf9160dk/nrf9160
- nrf9161dk/nrf9161
extra_args:
- EXTRA_DTC_OVERLAY_FILE=zms.overlay
- EXTRA_CONF_FILE=overlay-secure_storage.conf;overlay-transform_default.conf
secure_storage.psa.its.secure_storage.store.settings:
filter: CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS
extra_args: "EXTRA_CONF_FILE=\
overlay-secure_storage.conf;overlay-transform_default.conf;overlay-store_default.conf"
secure_storage.psa.its.secure_storage.custom.transform:
filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
extra_args: "EXTRA_CONF_FILE=\
overlay-secure_storage.conf;overlay-transform_custom.conf;overlay-store_default.conf"
secure_storage.psa.its.secure_storage.custom.store:
filter: CONFIG_SECURE_STORAGE
extra_args: "EXTRA_CONF_FILE=\
overlay-secure_storage.conf;overlay-transform_default.conf;overlay-store_custom.conf"
secure_storage.psa.its.secure_storage.custom.both:
filter: CONFIG_SECURE_STORAGE
extra_args: "EXTRA_CONF_FILE=\
overlay-secure_storage.conf;overlay-transform_custom.conf;overlay-store_custom.conf"
secure_storage.psa.its.tfm:
filter: CONFIG_BUILD_WITH_TFM
integration_platforms:
- nrf9151dk/nrf9151/ns
extra_args: EXTRA_CONF_FILE=overlay-tfm.conf