Skip to content

Commit d733153

Browse files
Yuval Peressnashif
authored andcommitted
tests: settings: Update test project structures
Update the structure to reduce redundancies with additional config files needed for native_posix platforms that replicate most of the same config values. Signed-off-by: Yuval Peress <[email protected]>
1 parent 7f90587 commit d733153

File tree

12 files changed

+21
-99
lines changed

12 files changed

+21
-99
lines changed

tests/subsys/settings/fcb/raw/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
CONFIG_ZTEST=y
2-
CONFIG_STDOUT_CONSOLE=y
32
CONFIG_FLASH=y
43
CONFIG_FLASH_PAGE_LAYOUT=y
54
CONFIG_FLASH_MAP=y
6-
CONFIG_ARM_MPU=n
75
CONFIG_FCB=y
86

97
CONFIG_SETTINGS=y

tests/subsys/settings/fcb/raw/prj_native_posix.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/subsys/settings/fcb/raw/prj_native_posix_64.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
tests:
22
system.settings.fcb.raw:
3-
platform_allow: nrf52840dk_nrf52840 nrf52dk_nrf52832 native_posix native_posix_64
3+
platform_allow: nrf52840dk_nrf52840 nrf52dk_nrf52832
4+
tags: settings_fcb
5+
extra_configs:
6+
- CONFIG_ARM_MPU=n
7+
- CONFIG_STDOUT_CONSOLE=y
8+
system.settings.fcb.raw_native_posix:
9+
platform_allow: native_posix native_posix_64
410
tags: settings_fcb

tests/subsys/settings/littlefs/base64/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
# Copyright (c) 2019 Nordic Semiconductor ASA
33

44
CONFIG_ZTEST=y
5-
CONFIG_STDOUT_CONSOLE=y
65
CONFIG_FLASH=y
76
CONFIG_FLASH_PAGE_LAYOUT=y
87
CONFIG_FLASH_MAP=y
9-
CONFIG_ARM_MPU=n
108

119
CONFIG_ZTEST_STACKSIZE=2048
1210
CONFIG_MAIN_STACK_SIZE=1024

tests/subsys/settings/littlefs/base64/prj_native_posix.conf

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/subsys/settings/littlefs/base64/prj_native_posix_64.conf

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/subsys/settings/littlefs/base64/testcase.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,11 @@
33

44
tests:
55
system.settings.littlefs.base64:
6-
platform_allow: nrf52840dk_nrf52840 native_posix native_posix_64
6+
platform_allow: nrf52840dk_nrf52840
7+
tags: settings_fs filesystem
8+
extra_configs:
9+
- CONFIG_STDOUT_CONSOLE=y
10+
- CONFIG_ARM_MPU=n
11+
system.settings.littlefs.base64_native_posix:
12+
platform_allow: native_posix native_posix_64
713
tags: settings_fs filesystem

tests/subsys/settings/littlefs/raw/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
# Copyright (c) 2019 Nordic Semiconductor ASA
33

44
CONFIG_ZTEST=y
5-
CONFIG_STDOUT_CONSOLE=y
65
CONFIG_FLASH=y
76
CONFIG_FLASH_PAGE_LAYOUT=y
87
CONFIG_FLASH_MAP=y
9-
CONFIG_ARM_MPU=n
108

119
CONFIG_ZTEST_STACKSIZE=2048
1210
CONFIG_MAIN_STACK_SIZE=1024

tests/subsys/settings/littlefs/raw/prj_native_posix.conf

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)