blob: aff034a6bb5a8d60ac6c8f02663b105bf6dd8aca [file] [log] [blame]
#
# Schema to validate a YAML file describing a Zephyr test platform
#
# We load this with pykwalify
# (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html),
# a YAML structure validator, to validate the YAML files that describe
# Zephyr test platforms
#
# The original spec comes from Zephyr's sanitycheck script
#
type: map
mapping:
"identifier":
type: str
"name":
type: str
"type":
type: str
enum: [ 'mcu', 'qemu', 'sim' ]
"arch":
type: str
"toolchain":
type: seq
seq:
-
type: str
enum: [ 'gccarmemb', 'issm', 'xcc', 'zephyr', 'espressif']
"ram":
type: int
"flash":
type: int
"supported":
type: seq
seq:
-
type: str
"testing":
type: map
mapping:
"default":
type: bool
"ignore_tags":
type: seq
seq:
-
type: str