Skip to content

Commit 1de41f4

Browse files
tomi-fontjukkar
authored andcommitted
[nrf fromlist] tests: secure_storage: psa: its: add test scenarios for 64-bit UIDs
Add test scenarios for the newly-added CONFIG_SECURE_STORAGE_64_BIT_UID enabled with both the ZMS and Settings backends. They don't test backward compatibility but it makes sure that secure storage compiles and works fine with this configuration. Signed-off-by: Tomi Fontanilles <[email protected]> Upstream PR #: 94171 (cherry picked from commit 5f0e7cd)
1 parent a395f74 commit 1de41f4

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

tests/subsys/secure_storage/psa/its/testcase.yaml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ common:
1010
- psa.secure_storage
1111
tests:
1212
secure_storage.psa.its.secure_storage.store.zms:
13-
filter: CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_ZMS
1413
# DT-based filtering is not possible for this test scenario.
1514
# Platforms with a storage_partition must be manually added here.
16-
platform_allow:
15+
platform_allow: &zms_platform_allow
1716
- native_sim
1817
- mps2/an385
1918
- qemu_x86/atom
@@ -25,14 +24,29 @@ tests:
2524
- nrf9160dk/nrf9160
2625
- nrf9161dk/nrf9161
2726
- ophelia4ev/nrf54l15/cpuapp
28-
extra_args:
27+
extra_args: &zms_extra_args
2928
- EXTRA_DTC_OVERLAY_FILE=zms.overlay
30-
- EXTRA_CONF_FILE=overlay-secure_storage.conf;overlay-store_zms.conf;overlay-transform_default.conf
29+
- EXTRA_CONF_FILE=\
30+
overlay-secure_storage.conf;overlay-store_zms.conf;overlay-transform_default.conf
31+
32+
secure_storage.psa.its.secure_storage.store.zms.64-bit_uids:
33+
platform_allow: *zms_platform_allow
34+
extra_args: *zms_extra_args
35+
extra_configs:
36+
- CONFIG_SECURE_STORAGE_64_BIT_UID=y
3137

3238
secure_storage.psa.its.secure_storage.store.settings:
33-
filter: CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS
34-
extra_args: "EXTRA_CONF_FILE=\
35-
overlay-secure_storage.conf;overlay-transform_default.conf;overlay-store_settings.conf"
39+
filter: &settings_filter
40+
CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS
41+
extra_args: &settings_extra_args
42+
"EXTRA_CONF_FILE=\
43+
overlay-secure_storage.conf;overlay-transform_default.conf;overlay-store_settings.conf"
44+
45+
secure_storage.psa.its.secure_storage.store.settings.64-bit_uids:
46+
filter: *settings_filter
47+
extra_args: *settings_extra_args
48+
extra_configs:
49+
- CONFIG_SECURE_STORAGE_64_BIT_UID=y
3650

3751
secure_storage.psa.its.secure_storage.custom.transform:
3852
filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE

0 commit comments

Comments
 (0)