zephyr/scripts/sanity_chk
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
..
.gitignore
sanity_compare.args compare footprint: add sanity args files 2016-12-21 13:46:56 +00:00
sanity_daily.args sanity: Load arguments from files 2016-10-25 13:05:36 +00:00
sanity_last_release.csv Bluetooth: Remove support for NBLE 2017-05-25 09:03:16 -07:00
sanity_unified.args nios2: port to unified kernel 2016-10-26 17:10:13 +00:00
sanity_verify.args sanitycheck: run legacy tests only on daily basis 2017-03-07 22:54:54 +00:00