tests: subsys: settings: functional: nvs & fcb split for CI
Splitted configuration for NVS & FCB so it is possible for the CI to pick it up. Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
This commit is contained in:
parent
1aca71b93e
commit
c05b0c74a3
@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.13.1)
|
||||
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
||||
project(NONE)
|
||||
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
FILE(GLOB app_sources ../src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
||||
zephyr_include_directories(
|
||||
$ENV{ZEPHYR_BASE}/subsys/settings/include
|
||||
18
tests/subsys/settings/functional/nvs/CMakeLists.txt
Normal file
18
tests/subsys/settings/functional/nvs/CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
cmake_minimum_required(VERSION 3.13.1)
|
||||
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
||||
project(NONE)
|
||||
|
||||
FILE(GLOB app_sources ../src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
||||
zephyr_include_directories(
|
||||
$ENV{ZEPHYR_BASE}/subsys/settings/include
|
||||
$ENV{ZEPHYR_BASE}/subsys/settings/src
|
||||
)
|
||||
|
||||
if(TEST)
|
||||
target_compile_definitions(app PRIVATE
|
||||
-DTEST_${TEST}
|
||||
)
|
||||
endif()
|
||||
11
tests/subsys/settings/functional/nvs/prj_qemu_x86.conf
Normal file
11
tests/subsys/settings/functional/nvs/prj_qemu_x86.conf
Normal file
@ -0,0 +1,11 @@
|
||||
CONFIG_ZTEST=y
|
||||
CONFIG_STDOUT_CONSOLE=y
|
||||
CONFIG_FLASH=y
|
||||
CONFIG_FLASH_PAGE_LAYOUT=y
|
||||
CONFIG_FLASH_MAP=y
|
||||
CONFIG_NVS=y
|
||||
|
||||
CONFIG_SETTINGS=y
|
||||
CONFIG_SETTINGS_RUNTIME=y
|
||||
CONFIG_SETTINGS_NVS=y
|
||||
CONFIG_SETTINGS_USE_BASE64=n
|
||||
4
tests/subsys/settings/functional/nvs/testcase.yaml
Normal file
4
tests/subsys/settings/functional/nvs/testcase.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
tests:
|
||||
system.settings.nvs:
|
||||
platform_whitelist: qemu_x86
|
||||
tags: settings_nvs
|
||||
Loading…
Reference in New Issue
Block a user