scripts: footprint: Add converter to twister_footprint.json

Add new script `pack_as_twister.py` to convert memory footprint
data prepared by `./footprint/scripts/track.py` into JSON files
compatible with Twister report schema. Next, the data can be
transformed and uploaded to ElasticSearch data storage the same
way as memory footprint (and other) reports executed by Twister.

Add to `plan.txt` an optional column with the corresponding
test suite names for 'footprints' as an example for test instance
name composing with `--test-name` command argumnent.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
Dmitrii Golovanov 2024-08-30 09:48:04 +02:00 committed by Anas Nashif
commit c5f2df49cc
3 changed files with 314 additions and 14 deletions

View file

@ -3,6 +3,9 @@
# used by twister for --test-tree option
anytree
# to use in ./scripts for memory footprint, code coverage, etc.
gitpython
# helper for developers - check git commit messages
gitlint