Skip to content

Commit 63e90de

Browse files
nashifnordic-segl
authored andcommitted
[nrf fromtree] tests: settings: where possible, use simulators for integration platforms
We want to be able to run tests and get results in CI, not just build for platforms we do not have access to. Where possible, use a simulator instead of hw platforms. Signed-off-by: Anas Nashif <[email protected]> Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit abb5f52)
1 parent 988efc0 commit 63e90de

File tree

5 files changed

+21
-12
lines changed

5 files changed

+21
-12
lines changed

tests/subsys/settings/file/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tests:
1313
- s32z2xxdc2@D/s32z270/rtu0
1414
- s32z2xxdc2@D/s32z270/rtu1
1515
integration_platforms:
16-
- nrf52840dk/nrf52840
16+
- native_sim
1717
tags:
1818
- settings
1919
- file

tests/subsys/settings/functional/fcb/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tests:
1111
- s32z2xxdc2@D/s32z270/rtu0
1212
- s32z2xxdc2@D/s32z270/rtu1
1313
integration_platforms:
14-
- nrf52840dk/nrf52840
14+
- native_sim
1515
tags:
1616
- settings
1717
- fcb

tests/subsys/settings/functional/nvs/testcase.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,30 @@ tests:
22
settings.functional.nvs:
33
platform_allow:
44
- qemu_x86
5+
- mps2/an385
56
- native_sim
67
- native_sim/native/64
78
- s32z2xxdc2/s32z270/rtu0
89
- s32z2xxdc2/s32z270/rtu1
910
- s32z2xxdc2@D/s32z270/rtu0
1011
- s32z2xxdc2@D/s32z270/rtu1
12+
integration_platforms:
13+
- mps2/an385
1114
tags:
1215
- settings
1316
- nvs
1417
settings.functional.nvs.chosen:
1518
extra_args: DTC_OVERLAY_FILE=./chosen.overlay
1619
platform_allow:
20+
- mps2/an385
1721
- native_sim
1822
- native_sim/native/64
1923
- s32z2xxdc2/s32z270/rtu0
2024
- s32z2xxdc2/s32z270/rtu1
2125
- s32z2xxdc2@D/s32z270/rtu0
2226
- s32z2xxdc2@D/s32z270/rtu1
27+
integration_platforms:
28+
- mps2/an385
2329
tags:
2430
- settings
2531
- nvs
@@ -32,8 +38,9 @@ tests:
3238
- s32z2xxdc2/s32z270/rtu1
3339
- s32z2xxdc2@D/s32z270/rtu0
3440
- s32z2xxdc2@D/s32z270/rtu1
41+
- mps2/an385
3542
integration_platforms:
36-
- nrf52840dk/nrf52840
43+
- mps2/an385
3744
tags:
3845
- settings
3946
- nvs

tests/subsys/settings/nvs/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tests:
22
settings.nvs:
3-
depends_on: nvs
3+
filter: dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
44
min_ram: 32
55
tags:
66
- settings

tests/subsys/settings/performance/testcase.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tests:
77
platform_allow:
88
- nrf52840dk/nrf52840
99
- nrf54l15dk/nrf54l15/cpuapp
10+
- mps2/an385
11+
integration_platforms:
12+
- mps2/an385
1013
min_ram: 32
1114
tags:
1215
- settings
@@ -23,6 +26,9 @@ tests:
2326
platform_allow:
2427
- nrf52840dk/nrf52840
2528
- nrf54l15dk/nrf54l15/cpuapp
29+
- mps2/an385
30+
integration_platforms:
31+
- mps2/an385
2632
min_ram: 32
2733
tags:
2834
- settings
@@ -36,10 +42,8 @@ tests:
3642
- CONFIG_SETTINGS_ZMS=y
3743
- CONFIG_ZMS_LOOKUP_CACHE=y
3844
- CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
39-
platform_allow: nrf52840dk/nrf52840
40-
platform_exclude:
41-
- native_sim
42-
- qemu_x86
45+
platform_allow:
46+
- nrf52840dk/nrf52840
4347
min_ram: 32
4448
tags:
4549
- settings
@@ -56,10 +60,8 @@ tests:
5660
- CONFIG_NVS_LOOKUP_CACHE_SIZE=512
5761
- CONFIG_SETTINGS_NVS_NAME_CACHE=y
5862
- CONFIG_SETTINGS_NVS_NAME_CACHE_SIZE=512
59-
platform_allow: nrf52840dk/nrf52840
60-
platform_exclude:
61-
- native_sim
62-
- qemu_x86
63+
platform_allow:
64+
- nrf52840dk/nrf52840
6365
min_ram: 32
6466
tags:
6567
- settings

0 commit comments

Comments
 (0)