zephyr/scripts/sanity_chk
Anas Nashif a502618b41 sanity: allow setting of tmp dir for out-of-tree
export TMP if you want the out of tree tests to write
to something else other then /tmp

Change-Id: I77b1dffe5fa5e61db66a8d754370a0cd47511ab4
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05 20:14:23 -05:00
..
bt_regression_chk sanity: Update sanity scripts to use data files 2016-02-05 20:14:21 -05:00
bt_regression_chk.data sanity: Key off platform instead of BSP 2016-02-05 20:14:21 -05:00
common.defs sanity: add support for arc platforms 2016-02-05 20:14:22 -05:00
footprint_chk sanity: Key off platform instead of BSP 2016-02-05 20:14:21 -05:00
footprint_chk.data sanity: Key off platform instead of BSP 2016-02-05 20:14:21 -05:00
out-of-tree_chk sanity: allow setting of tmp dir for out-of-tree 2016-02-05 20:14:23 -05:00
out-of-tree_chk.data sanity: Key off platform instead of BSP 2016-02-05 20:14:21 -05:00
README.txt sanity: Key off platform instead of BSP 2016-02-05 20:14:21 -05:00
regression_chk sanity: Key off platform instead of BSP 2016-02-05 20:14:21 -05:00
regression_chk.data sanity: Key off platform instead of BSP 2016-02-05 20:14:21 -05:00
sanity_chk sanity: Enable out-of-tree sanity check 2016-02-05 20:14:21 -05:00

Sanity Check Data Files
=======================

The sanity check data files contain project metadata that is parsed by the
relevant sanity check script to both build and run the listed projects.

Project metadata consists of:
 - project directory (relative to PRJ_PATH - defined in the script)
 - build arguments (optional)
 - project flags, enclosed in angle brackets "<>"
   - 'u' => microkernel; 'n' => nanokernel (required; must be first flag)
   - 'q' => run as part of quick sanity check (optional)
 - list of platform names that can be used with the project

It is important that each set of project metadata be specified on a single line.

The sanity check scripts will select first listed platform name if the user
does not specify a platform name (i.e. is the "default" platform).

A given project can appear more than once, allowing the project to be
sanitized multiple times. This can be useful if the project has multiple
configurations, or if the project should be characterized on more than one
platform during a default platform sanity check.

Comment lines are permitted (denoted by '#').