zephyr/scripts
Anas Nashif a792a3d410 sanitycheck: support testcases in yaml instead of ini
This commit changes the syntax of the testcase files and changes the
behaviour and configuration of the sanitycheck script.

To avoid having multiple files with different syntax for boards,
samples, tests; this change unifies the syntax and uses YAML instead of
INI.

We maintain the current keywords used in the old syntax and maintain the
flexibility of adding tests with different configuration by using YAML
list configuration. On top of that, the following features are added:

- We now scan for board configurations in the boards directory and look
for a YAML file describing a board and how it should be tested. This
eliminates the need for listing boards per architecture in a special ini
file under scripts/.

- We define hardware information charachterstics in the board YAML file
that helps identifying if a certain test should run on that board or
not. For example, we can specify the available RAM in the board and
filter tests that would require more RAM than the board can handle.

- Boards can be set as default for testing meaning that we always run a
test case (build and run of possible) when sanitycheck is called without
any arguments. Previously this was done only by selecting the first
board defined for a specific architecture.

- Tests can be configured to run on all possible boards, this is to make
sure we always build some basic tests for all boards to catch issues
with the core kernel features.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-06-21 20:56:53 -04:00
..
basic
ci scripts: make check_compliance scripts take arguments 2017-06-10 10:44:33 -04:00
cross_compiler xtools: add new configurations for xtools 1.23 2017-05-31 14:54:34 -04:00
gen_idt Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
gen_offset_header license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gitlint gitlint: Ignore signed-off-by line 2017-06-06 09:35:50 -04:00
kconfig build: support building host tools 2017-04-25 22:48:23 +00:00
sanity_chk sanitycheck: support testcases in yaml instead of ini 2017-06-21 20:56:53 -04:00
support esp32: Use esptool.py to flash with 'make flash' 2017-06-21 12:35:49 -04:00
.gitignore
Kbuild.include Kbuild.include: add function for unquoting strings 2017-05-18 07:18:36 -04:00
Makefile
Makefile.build
Makefile.clean
Makefile.extrawarn
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib build: Fix DTC overlay file paths on MSYS2 2017-05-31 14:57:33 -04:00
Makefile.modbuiltin
Makefile.qemu build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
Makefile.toolchain.espressif Support for Espressif SDK (ESP32, etc) 2017-06-21 12:35:49 -04:00
Makefile.toolchain.gccarmemb toolchain.gccarmemb: Fix support for where to find newlib 2017-06-08 14:52:49 -04:00
Makefile.toolchain.issm
Makefile.toolchain.riscv32 scripts: added Makefile to handle an external riscv32 toolchain 2017-01-13 19:52:22 +00:00
Makefile.toolchain.xcc xtensa: fix 'make debug' for xt-sim targets 2017-06-12 18:01:13 -04:00
Makefile.toolchain.xtools Revert "xtools: get rid of warnings about wrong path" 2017-05-29 16:20:15 -04:00
Makefile.toolchain.zephyr Makefile.toolchain.zephyr: fix C++ on Xtensa 2017-06-06 20:37:11 -04:00
Makefile.xt-run emulation: fix path of ELF binary when running with xt-sim 2017-05-11 16:51:56 -04:00
Makefile.xtsc-run xtensa: build similar to other Zephyr arches 2017-04-13 12:42:06 +00:00
build_grub.sh
check_known_checkpatch_issues.sh license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
check_link_map.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
checkconfig.py scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
checkpatch.pl checkpatch: per coding style, we do not allow c++ style comments 2017-04-28 13:03:33 +00:00
checkstack.pl
compare_footprint scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
config
devicetree.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
diffconfig scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
do_checkpatch.sh license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
expr_parser.py expr_parser: fix issue with hex values in environment 2017-04-18 20:51:26 +00:00
extract_dts_includes.py scripts: extract_dts_includes.py: Correct LOAD_OFFSET 2017-06-16 13:15:32 -05:00
filter-known-issues.py scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
gcc-version.sh
gen_mmu.py scripts: x86: MMU: Script to generate page tables 2017-06-13 11:36:54 -04:00
get_maintainer.pl MAINTAINERS: replace git pointer to github 2017-04-30 20:10:07 -04:00
headerdep.pl
ini2yaml.py sanitycheck: support testcases in yaml instead of ini 2017-06-21 20:56:53 -04:00
maintainer-checkpatch.bash license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
make-ll license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mkmakefile
mksysmap
qemu-machine-hack.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
sanitycheck sanitycheck: support testcases in yaml instead of ini 2017-06-21 20:56:53 -04:00
size_report scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
spelling.txt
tags.sh
timestamp license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uncrustify.cfg scripts: add configuration file for uncrustify 2017-02-04 01:46:29 +00:00
vercomp
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00