Skip to content
Permalink
Browse files

sanitycheck: allow blacklisting boards

Add new kwyboard to board definition to allow blacklisting boards. This
is needed when a board is broken causing CI to fail without a fix in
sight.

Add:

sanitycheck: false

to the board yaml file to disable the board. By default, the value is
set to true.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information...
nashif committed Jul 24, 2018
1 parent fbbef6f commit f3d48e1ccec3841956aed1feef631676756c953f
Showing with 5 additions and 1 deletion.
  1. +2 −0 scripts/sanity_chk/sanitycheck-platform-schema.yaml
  2. +3 −1 scripts/sanitycheck
@@ -32,6 +32,8 @@ mapping:
type: int
"flash":
type: int
"sanitycheck":
type: bool
"supported":
type: seq
seq:
@@ -1311,6 +1311,7 @@ class Platform:
data = scp.data

self.name = data['identifier']
self.sanitycheck = data.get("sanitycheck", True)
# if no RAM size is specified by the board, take a default of 128K
self.ram = data.get("ram", 128)
testing = data.get("testing", {})
@@ -1625,7 +1626,8 @@ class TestSuite:
verbose("Found plaform configuration " + fn)
try:
platform = Platform(fn)
self.platforms.append(platform)
if platform.sanitycheck:
self.platforms.append(platform)
except RuntimeError as e:
error("E: %s: can't load: %s" % (fn, e))
self.load_errors += 1

0 comments on commit f3d48e1

Please sign in to comment.
You can’t perform that action at this time.