tests: settings: functional: nvs: adding posix targets
Added native_posix and native_posix_64 targets to the functional tests of NVS. Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
This commit is contained in:
parent
ce413d1412
commit
7cd1a1bd7b
4 changed files with 4 additions and 2 deletions
|
@ -0,0 +1 @@
|
|||
CONFIG_SETTINGS_NVS_SECTOR_SIZE_MULT=8192
|
|
@ -0,0 +1 @@
|
|||
CONFIG_SETTINGS_NVS_SECTOR_SIZE_MULT=8192
|
|
@ -1,4 +1,4 @@
|
|||
tests:
|
||||
system.settings.functional.nvs:
|
||||
platform_whitelist: qemu_x86
|
||||
platform_whitelist: qemu_x86 native_posix native_posix_64
|
||||
tags: settings_nvs
|
||||
|
|
|
@ -30,7 +30,7 @@ LOG_MODULE_REGISTER(settings_basic_test);
|
|||
*/
|
||||
static void test_clear_settings(void)
|
||||
{
|
||||
#if IS_ENABLED(CONFIG_SETTINGS_FCB)
|
||||
#if IS_ENABLED(CONFIG_SETTINGS_FCB) || IS_ENABLED(CONFIG_SETTINGS_NVS)
|
||||
const struct flash_area *fap;
|
||||
int rc = flash_area_open(DT_FLASH_AREA_STORAGE_ID, &fap);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue