sanitycheck: support requirements on env variables

Some boards depend on environment variables so we want to make sure we
do not attempt to build boards requiring additional setup.

Add the section below into the board YAML file, sanitycheck will check
the environment and will only run tests on that board if the variables
are defined.

env:
  - VAR1
  - VAR2

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-10-18 12:25:55 -04:00
commit 924a4e7000
2 changed files with 22 additions and 3 deletions

View file

@ -28,6 +28,11 @@ mapping:
seq:
-
type: str
"env":
type: seq
seq:
-
type: str
"ram":
type: int
"flash":