[LTP] [PATCH v3] metadata: add linter for JSON file
Andrea Cervesato
andrea.cervesato@suse.com
Tue Aug 4 13:53:31 CEST 2026
Hi Cyril,
> What I had in mind for make check is that there would be a single test
> mode "-t" switch and we would skip the extract_tests and passed the JSON
> right to lint_tests()
>
> ./metaparse foo.c | lint.py -t
ok, so as far as I understand, you don't want to have a linter that checks
automatically for all tests in metadata, but selectively check the one we
need? Considering how fast we are to parse metadata and to run linter,
we are 1 pipe away from your solution by using grep:
lint.py metadata.json | grep <test>
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
More information about the ltp
mailing list