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:
Anas Nashif 2016-01-20 00:17:33 -05:00
commit c8b31705a1
4 changed files with 24 additions and 0 deletions

View 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

View file

@ -0,0 +1,2 @@
CONFIG_DEBUG=y
CONFIG_STDOUT_CONSOLE=y

View file

@ -0,0 +1,3 @@
CONFIG_DEBUG=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_NEWLIB_LIBC=y

View 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