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 xtools: add new configurations for xtools 1.23 2017-05-31 14:54:34 -04:00
gitlint gitlint: Ignore signed-off-by line 2017-06-06 09:35:50 -04:00
kconfig build: support building host tools 2017-04-25 22:48:23 +00:00
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
build_grub.sh
check_known_checkpatch_issues.sh license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
check_link_map.py check_link_map: fix check for app memory 2017-06-29 07:46:58 -04:00
checkconfig.py scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
checkpatch.pl checkpatch: per coding style, we do not allow c++ style comments 2017-04-28 13:03:33 +00:00
checkstack.pl
compare_footprint scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
config
devicetree.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
diffconfig scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
do_checkpatch.sh license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
expr_parser.py expr_parser: fix issue with hex values in environment 2017-04-18 20:51:26 +00:00
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 MAINTAINERS: replace git pointer to github 2017-04-30 20:10:07 -04:00
headerdep.pl
ini2yaml.py sanitycheck: support testcases in yaml instead of ini 2017-06-21 20:56:53 -04:00
Kbuild.include Kbuild.include: add function for unquoting strings 2017-05-18 07:18:36 -04:00
maintainer-checkpatch.bash license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
make-ll license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
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 toolchain.gccarmemb: Fix support for where to find newlib 2017-06-08 14:52:49 -04:00
Makefile.toolchain.issm toolchains: add DTC to environment 2017-06-23 13:10:52 -05:00
Makefile.toolchain.riscv32 scripts: added Makefile to handle an external riscv32 toolchain 2017-01-13 19:52:22 +00:00
Makefile.toolchain.xcc xtensa: fix 'make debug' for xt-sim targets 2017-06-12 18:01:13 -04:00
Makefile.toolchain.xtools toolchains: add DTC to environment 2017-06-23 13:10:52 -05:00
Makefile.toolchain.zephyr Makefile.toolchain.zephyr: fix C++ on Xtensa 2017-06-06 20:37:11 -04:00
Makefile.xt-run emulation: fix path of ELF binary when running with xt-sim 2017-05-11 16:51:56 -04:00
Makefile.xtsc-run xtensa: build similar to other Zephyr arches 2017-04-13 12:42:06 +00:00
mkmakefile
mksysmap
qemu-machine-hack.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
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 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uncrustify.cfg scripts: add configuration file for uncrustify 2017-02-04 01:46:29 +00:00
vercomp
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00