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>
This commit is contained in:
Tomi Fontanilles 2024-12-30 16:02:52 +02:00 committed by Benjamin Cabé
commit 561ee12597
2 changed files with 6 additions and 5 deletions

View file

@ -8,7 +8,8 @@ common:
tags: tags:
- psa.secure_storage - psa.secure_storage
tests: tests:
secure_storage.psa.its.secure_storage.zms: 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. # DT-based filtering is not possible for this test scenario.
# Platforms with a storage_partition must be manually added here. # Platforms with a storage_partition must be manually added here.
platform_allow: platform_allow:
@ -25,16 +26,16 @@ tests:
extra_args: extra_args:
- EXTRA_DTC_OVERLAY_FILE=zms.overlay - EXTRA_DTC_OVERLAY_FILE=zms.overlay
- EXTRA_CONF_FILE=overlay-secure_storage.conf;overlay-transform_default.conf - EXTRA_CONF_FILE=overlay-secure_storage.conf;overlay-transform_default.conf
- CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_ZMS=y
secure_storage.psa.its.secure_storage.settings.nvs: secure_storage.psa.its.secure_storage.store.settings:
filter: CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS filter: CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS
extra_args: "EXTRA_CONF_FILE=\ extra_args: "EXTRA_CONF_FILE=\
overlay-secure_storage.conf;overlay-transform_default.conf;overlay-store_settings.conf" overlay-secure_storage.conf;overlay-transform_default.conf;overlay-store_default.conf"
secure_storage.psa.its.secure_storage.custom.transform: secure_storage.psa.its.secure_storage.custom.transform:
filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE 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 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: secure_storage.psa.its.secure_storage.custom.store:
filter: CONFIG_SECURE_STORAGE filter: CONFIG_SECURE_STORAGE