zephyr/scripts/sanity_chk
Anas Nashif 83fc06a8fe sanitycheck: Complete overhaul and job handling rework
A complete overhaul of the sanitycheck script and how we build and run
tests. This new version of sanitycheck uses python for job distribution
and drop use of Make.

In addition to the move to python threading library, the following has
been changed:

- All handlers now run in parallel, meaning that any simulator will run
in parallel and when testing on multiple devices (using
--device-testing) the tests are run in parallel.

- Lexicial filtering (using the filter keyword in yaml files) is now
evaluated at runtime and is no long being pre-processed. This will allow
us to immediately start executing tests and skip the wait time that was
needed for filtering.

- Device testing now supports multiple devices connected at the same
time and is managed using a hardware map that needs to be generated and
maintained for every test environment. (using --generate-hardware-map
option).

- Reports are not long stored in the Zephyr tree and instead stored in
the output directory where all build artifacts are generated.

- Each tested target now has a junit report in the output directory.

- Recording option for performance data and other metrics is now
available. This will allow us to record the output from the console and
store the data for later processing. For example benchmark data can be
captured and uploaded to a tracking server.

- Test configurations (or instances) are no longer being sorted, this
will help with balancing the load when we run sanitycheck on multiple
hosts (as we do in CI).

And many other cleanups and improvements...

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-10-11 07:28:19 -07:00
..
boards/unit/unit_testing
.gitignore
expr_parser.py scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
harness.py sanitycheck: Complete overhaul and job handling rework 2019-10-11 07:28:19 -07:00
platform-schema.yaml sanitycheck: Complete overhaul and job handling rework 2019-10-11 07:28:19 -07:00
sanity_compare.args
sanity_daily.args
sanity_last_release.csv
sanity_verify.args
scl.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
testcase-schema.yaml sanitycheck: Complete overhaul and job handling rework 2019-10-11 07:28:19 -07:00