tests: add build tests for various options
This test builds the syncronisation app using the following config options to verify if the build is successful: - CONFIG_DEBUG - CONFIG_NEWLIB_LIBC Change-Id: Idf2fe948ab58982244b3590da938a83206103be3 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
51be9a50a4
commit
c8b31705a1
4 changed files with 24 additions and 0 deletions
6
samples/nanokernel/test/test_build/Makefile
Normal file
6
samples/nanokernel/test/test_build/Makefile
Normal file
|
@ -0,0 +1,6 @@
|
|||
KERNEL_TYPE = nano
|
||||
BOARD ?= qemu_x86
|
||||
CONF_FILE = debug.conf
|
||||
SOURCE_DIR = $(ZEPHYR_BASE)/samples/nanokernel/apps/synchronization/src/
|
||||
|
||||
include ${ZEPHYR_BASE}/Makefile.inc
|
2
samples/nanokernel/test/test_build/debug.conf
Normal file
2
samples/nanokernel/test/test_build/debug.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
CONFIG_DEBUG=y
|
||||
CONFIG_STDOUT_CONSOLE=y
|
3
samples/nanokernel/test/test_build/newlib.conf
Normal file
3
samples/nanokernel/test/test_build/newlib.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
CONFIG_DEBUG=y
|
||||
CONFIG_STDOUT_CONSOLE=y
|
||||
CONFIG_NEWLIB_LIBC=y
|
13
samples/nanokernel/test/test_build/testcase.ini
Normal file
13
samples/nanokernel/test/test_build/testcase.ini
Normal file
|
@ -0,0 +1,13 @@
|
|||
[test_debug]
|
||||
build_only = true
|
||||
tags = apps
|
||||
extra_args = CONF_FILE=debug.conf
|
||||
|
||||
|
||||
[test_newlib]
|
||||
build_only = true
|
||||
tags = apps
|
||||
arch_whitelist = arm x86
|
||||
extra_args = CONF_FILE=newlib.conf
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue