zephyr/scripts
Inaky Perez-Gonzalez 662dde6675 sanitycheck: validate YAML files w/ schemas files
This introduces an schema-based YAML validation process when loading
any YAML file, before doing any operations on them. An exception will
be raised at SanityConfigParser() if the file fails to verify with the
given schema.

Schemas are defined for the platform files in board///*.yaml and for
the (sample|testcase).yaml files. The verification is done using the
pykwalify python library. If not installed, a warning is printed and
the verification schema is skipped. At some point, we might want to
force it being installed.

The verification library is made a separate module (scl.py) so it can
be easily imported by others.

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2017-08-07 21:19:12 -04:00
..
basic
ci tests: run modified tests with full coverage 2017-07-28 17:03:04 -04:00
cross_compiler
gitlint
kconfig
sanity_chk sanitycheck: support testcases in yaml instead of ini 2017-06-21 20:56:53 -04:00
support scripts: pyocd.sh: Add support for passing board_id to pyocd commands 2017-06-23 15:05:10 -05:00
.gitignore
Kbuild.include
Makefile build: Fix distclean for gen_idt 2017-08-01 22:10:22 -04:00
Makefile.build
Makefile.clean
Makefile.extrawarn
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib build: allow user to specify DTC_OVERLAY_FILE directly 2017-07-31 09:21:46 -05:00
Makefile.modbuiltin
Makefile.qemu samples: net Documented QEMU_INSTANCE usage 2017-06-29 07:20:46 -04:00
Makefile.toolchain.espressif Support for Espressif SDK (ESP32, etc) 2017-06-21 12:35:49 -04:00
Makefile.toolchain.gccarmemb
Makefile.toolchain.issm toolchains: add DTC to environment 2017-06-23 13:10:52 -05:00
Makefile.toolchain.riscv32
Makefile.toolchain.xcc
Makefile.toolchain.xtools toolchains: add DTC to environment 2017-06-23 13:10:52 -05:00
Makefile.toolchain.zephyr
Makefile.xt-run
Makefile.xtsc-run
build_grub.sh
check_known_checkpatch_issues.sh
check_link_map.py check_link_map: fix check for app memory 2017-06-29 07:46:58 -04:00
checkconfig.py
checkpatch.pl
checkstack.pl
compare_footprint
config
devicetree.py
diffconfig
do_checkpatch.sh
expr_parser.py
extract_dts_includes.py scripts/extract_dts_includes.py: Fix typo in device name list 2017-07-26 11:37:06 -05:00
filter-known-issues.py scripts: Fix string pattern on byte like objects error 2017-07-26 06:54:12 -04:00
gcc-version.sh
gen_gdt.py gen_gdt: properly set descriptor privilege level 2017-08-01 10:10:28 -07:00
gen_idt.py scripts: add version check for pyelftools 2017-07-25 13:41:16 -04:00
gen_mmu.py x86: mmu: add runtime modification indicator 2017-08-03 11:46:26 -04:00
gen_offset_header.py scripts: fix offset.h header guard 2017-08-01 15:05:13 -04:00
get_maintainer.pl
headerdep.pl
ini2yaml.py sanitycheck: support testcases in yaml instead of ini 2017-06-21 20:56:53 -04:00
maintainer-checkpatch.bash
make-ll
mkmakefile
mksysmap
qemu-machine-hack.py
requirements.txt doc: add python pip requirements.txt 2017-07-22 14:04:20 -04:00
sanitycheck sanitycheck: validate YAML files w/ schemas files 2017-08-07 21:19:12 -04:00
sanitycheck-platform-schema.yaml sanitycheck: validate YAML files w/ schemas files 2017-08-07 21:19:12 -04:00
sanitycheck-tc-schema.yaml sanitycheck: validate YAML files w/ schemas files 2017-08-07 21:19:12 -04:00
scl.py sanitycheck: validate YAML files w/ schemas files 2017-08-07 21:19:12 -04:00
size_report scripts: Fix size_report to use correct objdump and nm 2017-07-13 14:27:49 -05:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh
timestamp
uncrustify.cfg
vercomp
waitpid