Commit Graph

159 Commits

Author SHA1 Message Date
Manuel Argüelles
23259aecdd tests: enable flash tests for mr_canhubk3 board
Various tests enabled to use the on-board QSPI memory.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-07-26 09:44:14 +02:00
Gerard Marull-Paretas
93b63df762 samples, tests: convert string-based twister lists to YAML lists
Twister now supports using YAML lists for all fields that were written
as space-separated lists. Used twister_to_list.py script. Some artifacts
on string length are due to how ruamel dumps content.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-10 09:52:37 +02:00
Nicolas VINCENT
06d53b1343 settings fcb: Increase buffer for mcu with large write block size
Devices with write block size greater than 16 could not use settings_fcb
due to small buffer size.
Update value in test as well.

Signed-off-by: Nicolas VINCENT <nicolas.vincent@vossloh.com>
2023-01-26 22:50:40 +09:00
Jamie McCrae
a6ecd729d1 tests: subsys: settings: Remove nrf52 scratch
Removes deleting the nRF52840 scratch partition from tests as
this has now been removed.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2022-12-20 11:57:38 +01:00
Jamie McCrae
9a842588fb boards: arm: nordic nrf91* nrf53* nrf52* nrf51*: Remove scratch areas
The scratch partition is not needed since MCUboot now operates in
swap using move mode instead of swap with scratch, as a result, the
main partitions on Nordic nRF51, nRF52, nRF53 and nRF91 boards can be
expanded to help in fitting large applications to them.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2022-12-20 11:57:38 +01:00
Marcin Niestroj
0d26fe6c45 tests: settings: functional: remove per platform prj_*.conf
All per-platform prj_*.conf files are the same as prj.conf, so there is no
need to duplicate those configuration files.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-16 14:38:51 +01:00
Marcin Niestroj
a854d1d6f5 tests: settings: remove explicit CONFIG_STDOUT_CONSOLE=y
This option is selected by default, so there is no need to select it
explicitly. Additionally, selecting this option for native_posix platforms
results in configuration time warning due to unsatisfied
!NATIVE_APPLICATION dependency.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-16 14:38:51 +01:00
Marcin Niestroj
eea6587ac5 tests: settings: enable ARM MPU
Remove CONFIG_ARM_MPU=n from all settings tests. This is possible due to
CONFIG_MPU_ALLOW_FLASH_WRITE=y automatically being enabled, which was not
true some time ago.

Enabling ARM MPU allows to detect stack overflows during tests runtime.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-16 14:38:51 +01:00
Marcin Niestroj
1088a2d9d5 tests: settings: file: increase main stack size to 2kB
Running tests on `nrf52840dk_nrf52840` with ARM MPU enabled results in
following error:

  Running TESTSUITE settings_config_fs
  ===================================================================
  I: LittleFS version 2.5, disk version 2.0
  I: FS at mx25r6435f@0:0x0 is 16 0x1000-byte blocks with 512 cycle
  I: sizes: rd 16 ; pr 16 ; ca 64 ; la 32
  E: WEST_TOPDIR/modules/fs/littlefs/lfs.c🔢 Corrupted dir pair at \
     {0x0, 0x1}
  W: can't mount (LFS -84); formatting
  E: ***** MPU FAULT *****
  E:   Stacking error (context area might be not valid)
  E:   Data Access Violation
  E:   MMFAR Address: 0x20001f78
  E: r0/a1:  0x00000000  r1/a2:  0x00000000  r2/a3:  0x00000000
  E: r3/a4:  0x0000b461 r12/ip:  0x00000000 r14/lr:  0x0000da8d
  E:  xpsr:  0x00003800
  E: Faulting instruction address (r15/pc): 0x00000000
  E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
  E: Current thread: 0x20000468 (main)
  E: Halting system

Increase main stack size to 2kB to prevent stack overflow.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-16 14:38:51 +01:00
Marcin Niestroj
06454d9ac6 tests: settings: functional: file: increase ztest stack size to 2kB
Running tests on `qemu_x86` results in following error:

  START - test_direct_loading
  E: Double Fault
  E: EAX: 0x00224820, EBX: 0x00000000, ECX: 0x00000010, EDX: 0x00000010
  E: ESI: 0x00224820, EDI: 0x00000000, EBP: 0x0021e020, ESP: 0x0021e000
  E: EFLAGS: 0x00000206 CS: 0x0008 CR3: 0x0022b000
  E: call trace:
  E: EIP: 0x001096ec
  E:      0x00109a76 (0x4)
  E:      0x0010a1f8 (0x78000000)
  E:      0x0010dbec (0x0)
  E:      0x00107a3c (0x224894)
  E:      0x00106ce2 (0x224940)
  E:      0x00104f11 (0x21e260)
  E:      0x00104747 (0x224f00)
  E:      0x0010476f (0x21e3c4)
  E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
  E: Current thread: 0x11a0a0 (test_direct_loading)
  E: Halting system

Similar error is on `nrf52840dk_nrf52840` when ARM MPU is enabled:

  START - test_clear_settings
  I: LittleFS version 2.5, disk version 2.0
  I: FS at flash-controller@4001e000:0xde000 is 16 0x1000-byte blocks \
     with 512 cycle
  I: sizes: rd 16 ; pr 16 ; ca 64 ; la 32
  E: WEST_TOPDIR/modules/fs/littlefs/lfs.c🔢 Corrupted dir pair at \
     {0x1, 0x0}
  W: can't mount (LFS -84); formatting
  E: ***** MPU FAULT *****
  E:   Data Access Violation
  E:   MMFAR Address: 0x20000d70
  E: r0/a1:  0x20000074  r1/a2:  0x20000084  r2/a3:  0x20000074
  E: r3/a4:  0x00000000 r12/ip:  0x000004ff r14/lr:  0x0000f221
  E:  xpsr:  0x41000000
  E: Faulting instruction address (r15/pc): 0x000093d8
  E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
  E: Current thread: 0x20000348 (test_clear_settings)
  E: Halting system

Increase ZTEST stack size to 2kB to prevent stack overflow.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-16 14:38:51 +01:00
Marcin Niestroj
4cef4de98d tests: settings: fcb: increase ztest stack size to 2kB
Tests are passing now on `nrf52840dk_nrf52840` platform, just because ARM
MPU is disabled and stack overflow is not detected. When running those
tests on `qemu_x86` there is following error during runtime:

  START - test_config_compress_reset
  E: Double Fault
  E: EAX: 0x0011c1c8, EBX: 0x00000002, ECX: 0x00000002, EDX: 0x0000100a
  E: ESI: 0x0000000a, EDI: 0x0021f370, EBP: 0x0021f000, ESP: 0x0021f000
  E: EFLAGS: 0x00000202 CS: 0x0008 CR3: 0x0022b000
  E: call trace:
  E: EIP: 0x001075be
  E:      corrupted? (bp=0x21f000)
  E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
  E: Current thread: 0x11b140 (test_config_compress_reset)
  E: Halting system

Same happens on `nrf52840dk_nrf52840` when ARM MPU is enabled:

  START - test_config_compress_reset
  E: ***** MPU FAULT *****
  E:   Stacking error (context area might be not valid)
  E:   Data Access Violation
  E:   MMFAR Address: 0x20008cb8
  E: r0/a1:  0x39beca54  r1/a2:  0x9abe9566  r2/a3:  0xe333d994
  E: r3/a4:  0x41387fc2 r12/ip:  0x7c2e5c00 r14/lr:  0xdc5006d9
  E:  xpsr:  0x81000000
  E: Faulting instruction address (r15/pc): 0x0000b50e
  E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
  E: Current thread: 0x200001d8 (test_config_compress_reset)
  E: Halting system

Increase ZTEST stack size to 2kB to prevent stack overflow.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-16 14:38:51 +01:00
Marcin Niestroj
2d3365200c settings: file: drop CONFIG_SETTINGS_FILE_DIR
There is already CONFIG_SETTINGS_FILE_PATH, which is set to full file path,
while CONFIG_SETTINGS_FILE_DIR is required to be set to its parent
directory. This is redundant, as parent directory path can be easily found
out either during runtime or optionally during buildtime by CMake.

CONFIG_SETTINGS_FILE_DIR was actually introduced recently after Zephyr 3.2
release as a replacement of deprecated CONFIG_SETTINGS_FS_DIR. This means,
that there is no need to deprecate it for 3.3 release and dropping it
should be fine. Adjust 3.3 release notes accordingly, so that
CONFIG_SETTINGS_FILE_PATH will be used directly.

This patch stops using deprecated CONFIG_SETTINGS_FS_DIR. There is actually
no value in respecting it, as setting anything other than parent directory
of CONFIG_SETTINGS_FS_FILE makes no sense.

There is actually one use of CONFIG_SETTINGS_FILE_DIR in file backend
tests, to derive directory for files containing tested settings.
CONFIG_SETTINGS_FILE_PATH is not used there, so it makes little sense to
derive directory name from it. Instead, just use hardcoded "/settings"
subdirectory, as this was the default value of CONFIG_SETTINGS_FILE_DIR.

Deriving parent directory can be done either in runtime or in
buildtime (e.g. using some helper CMake function). Doing it in runtime
however allows to create directory recursively (which this patch actually
implements), e.g. for some more nested FS tree structure. Additionally it
will simplify migration of settings configuration from Kconfig to
device-tree (yet to be developed feature).

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-14 14:11:03 +01:00
Marcin Niestroj
ffa622b5b9 tests: settings: file: merge file_littlefs
There is little point in keeping separate:
 * tests/subsys/settings/file
 * tests/subsys/settings/file_littlefs

directories, `file_littlefs` is just a thin layer used to setup test suites
for tests implemented in `file` directory.

Merge both directories together. Support for new FS can be added by simply
adding:
 * new `settings_setup_<FS_OF_CHOICE>.c` which implements
   `config_setup_fs()` function
 * expanding `testcase.yaml` to add new tests with
   `CONFIG_FILE_SYSTEM_<FS_OF_CHOICE>=y` extra config option

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-13 18:45:30 +01:00
Marcin Niestroj
ba4cea40fd tests: settings: file_littlefs: relax dependency on LittleFS
Do some internal renaming to relax dependency on using LittleFS
specifically, making this test likely to be run on any FS.

Rename device-tree partition name `littlefs_dev` ->
`settings_file_partition`, so as does not need to be LittleFS to be
mounted and used for File settings storage.

Rename `config_setup_littlefs()` to `config_setup_fs()`, which can be
implemented for any other FS of choice.

Change FS mount point from '/littlefs' to '/fs'.

Rename `settings_test_littlefs.c` -> `settings_test_fs.c`, as this one just
defines test suites and there is nothing LittleFS specific.

Build `settings_setup_littlefs.c` only when
`CONFIG_FILE_SYSTEM_LITTLEFS=y`, so that any other FS can be added at a
later point with its specific implementation of `config_setup_fs()`
function.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-13 18:45:30 +01:00
Marcin Niestroj
413f849785 tests: settings: file_littlefs: fix comment about LittleFS
Fix a leftover from copy-pasted NFFS tests:
 * s/NFFS/LittleFS/
 * s/strcut/struct/

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-13 18:45:30 +01:00
Marcin Niestroj
f5ded678c5 tests: settings: file_littlefs: move prototype to header file
Move `config_setup_littlefs()` prototype to header file, so that potential
type mismatch will be detected by both `settings_setup_littlefs.c`
implementing it and `settings_test_littlefs.c` using it.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-13 18:45:30 +01:00
Marcin Niestroj
df50fa6f1a tests: settings: remove unused settings_enc.c
This file was just built, but none of its functions were executed since the
commit 84a88f107c ("tests: subsys: settings: stream encoding tests"),
which introduced it.

At this point it makes little sense to make it run/working, mainly because
of:
 * "line" encoding, which this module intends to test, behaves differently
   based on Kconfig options like `bool SETTINGS_ENCODE_LEN`; this is set
   differently based on (FCB/File) backend used, so it is hard to make this
   "generic" tests work, because it is shared by all storage backends tests
 * base64 encoding is expected in this test module, which was dropped 2
   years ago in [1]
 * settings subsystem has changed a lot during last 4 years, so those tests
   might no longer be valid with current implementation.

[1] commit 55be783c85 ("settings: Remove deprecated SETTINGS_USE_BASE64
  support")

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-08 09:59:34 +00:00
Marcin Niestroj
eca7bd12a4 tests: settings: file: remove unused c2_var_count
This variable is just a copy-paste from FCB backend tests and actually has
no use in File backend tests.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-08 17:38:35 +09:00
Marcin Niestroj
6bb3d32f32 tests: settings: nvs: remove unused settings handlers
There are three settings handlers defined, but just the first
one (`c_test_handlers[0]`) is registered and used in NVS specific tests.
Remove unused handlers, as it is really a dead code.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-08 17:38:35 +09:00
Marcin Niestroj
f2b129d35c tests: settings: fcb: remove unused zephyr/sys/printk.h
There are no printk invocations from ztest, so drop that header.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-08 17:38:35 +09:00
Marcin Niestroj
f34ed3d181 tests: settings: fcb: remove local test_config_insert{2,3} prototypes
Both functions are declared in `settings_test.h`, so there is no reason to
declare them locally as well.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-08 17:38:35 +09:00
Dominik Ermel
7c3a70a35b settings: file: Fix flash area erase offset
Incorrect erase start offset has been given.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-12-07 10:22:41 +00:00
Marcin Niestroj
47c8db5e63 tests: settings: remove passing -DTEST_${TEST} from cmake
This feature is not used in most tests, as there is no logic in C code that
utilizes `#ifdef TEST_x` statement.

The only test that does that is `tests/subsys/settings/fcb/` where `#ifdef
TEST_LONG` is used, so leave that test case untouched.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-07 10:19:57 +00:00
Marcin Niestroj
673b0665d3 tests: settings: file: remove declarations of ZTEST() routines
Remove declarations of ZTEST() routines in header file, because there is
simply no value in having it.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-06 09:45:50 -05:00
Anas Nashif
ba7d730e9b tests/samples: use integration_plaforms in more tests/samples
integration_platforms help us control what get built/executed in CI and
for each PR submitted. They do not filter out platforms, instead they
just minimize the amount of builds/testing for a particular
tests/sample.
Tests still run on all supported platforms when not in integration mode.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-11-29 16:03:23 +01:00
Marcin Niestroj
daee6cb4a9 settings: file: change FS (or file system) wording to File
Currently there is inconsistency in repository file names, APIs, Kconfig
options and documentation around file / file-system backend for settings
storage, as both "file" and "FS (file system)" are used. As an example,
there is `CONFIG_SETTINGS_FS` Kconfig option, but the file that implements
this settings backend is called `settings_file.c`. Another example are
names of static functions that implement settings storage API:
`settings_file_load()`, `settings_file_save()` and
`settings_fs_storage_get()`.

This backend is actually storing all settings in a single file, so it makes
sense to use "File" as the name of backend, instead of a more general
"FS" (which would make sense if several files would be used to store
settings).

Fix inconsistency in used wording in the tree and unify it to "settings
file backend". This naming is more precise to how the implementation looks.
It will also make it easier to grep through the codebase and analyze
existing code.

Deprecate settings_mount_fs_backend() function and all Kconfig options
starting with `CONFIG_SETTINGS_FS`.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-11-24 09:36:31 +01:00
Michał Barnaś
dae8efa692 ztest: remove the obsolete NULL appended to zassert macros
This commit removes the usage of NULL parameter as message in
zassert_* macros after making it optional

Signed-off-by: Michał Barnaś <mb@semihalf.com>
2022-09-09 07:05:38 -04:00
Dominik Ermel
60e0c698f6 tests/settings: Switch from FLASH_AREA_ to FIXED_PARTITION_ macros
The commit switches flash area access from FLASH_AREA_ macros
to FIXED_PARTITION_ macros and to usage of DTS node labels,
to identify partitions, instead of label property.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-09-06 09:56:37 +02:00
Gerard Marull-Paretas
79e6b0e0f6 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h>
As of today <zephyr/zephyr.h> is 100% equivalent to <zephyr/kernel.h>.
This patch proposes to then include <zephyr/kernel.h> instead of
<zephyr/zephyr.h> since it is more clear that you are including the
Kernel APIs and (probably) nothing else. <zephyr/zephyr.h> sounds like a
catch-all header that may be confusing. Most applications need to
include a bunch of other things to compile, e.g. driver headers or
subsystem headers like BT, logging, etc.

The idea of a catch-all header in Zephyr is probably not feasible
anyway. Reason is that Zephyr is not a library, like it could be for
example `libpython`. Zephyr provides many utilities nowadays: a kernel,
drivers, subsystems, etc and things will likely grow. A catch-all header
would be massive, difficult to keep up-to-date. It is also likely that
an application will only build a small subset. Note that subsystem-level
headers may use a catch-all approach to make things easier, though.

NOTE: This patch is **NOT** removing the header, just removing its usage
in-tree. I'd advocate for its deprecation (add a #warning on it), but I
understand many people will have concerns.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-09-05 16:31:47 +02:00
Meng xianglin
cd288ff907 tests: settings: functional: move to new ztest API
All test cases in tests/subsys/settings/functional are moved
to new ztest API.

Signed-off-by: Meng xianglin <xianglinx.meng@intel.com>
2022-08-26 11:56:51 +02:00
Meng xianglin
96484695e7 tests: settings: move to new ztest API
test cases in tests/subsys/settings/fcb, tests/subsys/settings/littlefs,
tests/subsys/setttings/nvs all depend on tests/subsys/settings/src and
tests/subsys/settings/fs, so update them in one commit.

Signed-off-by: Meng xianglin <xianglinx.meng@intel.com>
2022-08-26 11:56:51 +02:00
Dominik Ermel
f2a338c77b tests/settings: Small cleanup of settings_basic_test.c
Fixed indentation and some ifdefs.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-08-18 12:51:07 +02:00
Kun Li
80a9b7aefc tests: fcb_init: move testcases to new API
move fcb_init testcases to new API.

Signed-off-by: Kun Li <kun1x.li@intel.com>
2022-08-12 14:18:05 +01:00
Dominik Ermel
d7c2a97fc5 tests/settings/fcb: Pick flash parameters from flash area device
The commit fixes code to pick flash parameters from flash area
device rather than chosen 'zephyr,flash'.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-08-03 05:01:30 +01:00
Gerard Marull-Paretas
5a44f2e33f include: add missing zephyr/ prefixes
Some files were missed during the migration. This patch adds the prefix
where missing.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-02 18:03:58 +01:00
Fabio Baltieri
def230187b test: fix more legacy #include paths
Add a bunch of missing "zephyr/" prefixes to #include statements in
various test and test framework files.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-08-02 16:41:41 +01:00
Andrzej Puzdrowski
ccf8c547d0 settings: API for get storage instance used
Added API function +int settings_storage_get(void **storage)
which allows to get storage instance used by the
settings backed to store its records.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-08-02 15:15:10 +02:00
Andrzej Puzdrowski
18b44746aa tests/subsys/settings: cleanup raw subdirectory usage
./raw directories for each testsuite were remains after having
base64 encoding test variant beside which raw variant was existing.

This patch flatten the directories structures.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-08-01 18:02:41 +02:00
Andrzej Puzdrowski
bcd4d0f2d8 tests/subsys/settings/littlefs: remove base64 variant
These tests are identical as RAW variant,
since the base64 settings encoding was removed (#26053)
from the settings.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-08-01 18:02:41 +02:00
Fabio Baltieri
e24314f10f include: add more missing zephyr/ prefixes
Adds few missing zephyr/ prefixes to leftover #include statements that
either got added recently or were using double quote format.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-05-27 15:20:27 -07:00
Gerard Marull-Paretas
ade7ccb918 tests: migrate includes to <zephyr/...>
In order to bring consistency in-tree, migrate all tests to the new
prefix <zephyr/...>. Note that the conversion has been scripted, refer
to #45388 for more details.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-06 20:02:14 +02:00
Alexander Mihajlovic
296d51511d tests: settings: Add tests for chosen zephyr,settings-partition
Add test cases using settings-partition chosen for both FCB and NVS.

Signed-off-by: Alexander Mihajlovic <a@abxy.se>
2022-03-24 08:16:46 -04:00
Nazar Kazakov
f483b1bc4c everywhere: fix typos
Fix a lot of typos

Signed-off-by: Nazar Kazakov <nazar.kazakov.work@gmail.com>
2022-03-18 13:24:08 -04:00
Carles Cufi
4b8f1c04ab kconfig: Rename the ZTEST stack size option to align with the rest
All stack sizes should end with STACK_SIZE.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2022-02-22 08:23:05 -05:00
Yuval Peress
d733153fe6 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 <peress@google.com>
2022-02-11 09:47:57 -05:00
Yuval Peress
7f90587e7e test: settings: functional: fix missing test_main
The functional tests for settings subsystem regressed with the
introduction of the weak test_main function. This was caused by
Issue #19582 since the common code was being linked as a library.

Update the logic of the common code to directly add the sources
to the `app` target. This resolved both Issue #19582 and #42396

Signed-off-by: Yuval Peress <peress@google.com>
2022-02-11 09:47:57 -05:00
Yuval Peress
7b1a56f40f tests: settings: Remove invalid config
Tests running on native_posix and native_posix_64 are selecting
CONFIG_STDOUT_CONSOLE, but this config value depends on
!NATIVE_APPLICATION. This configuration causes the CI to fail.

Signed-off-by: Yuval Peress <peress@google.com>
2022-02-11 09:47:57 -05:00
Anas Nashif
ca565118ea tests: settings: provide correct test prototypes
More issues with missing prototypes.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-02-07 12:39:42 -05:00
Anas Nashif
6b3cde2289 tests: settings: provide correct test prototypes
Add prototypes for renamed test functions. Issue was introduced in
677ffc883a.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-02-07 10:48:18 -05:00
Piotr Golyzniak
677ffc883a tests: settings: fix wrong test case names
Change test case names to proper one, which start from "test_"
characters.

Signed-off-by: Piotr Golyzniak <piotr.golyzniak@nordicsemi.no>
2022-02-07 09:29:09 -05:00