Re: [PATCH v3] metadata: add linter for JSON file

Andrea Cervesato via ltp <[email protected]> Tue, 04 Aug 2026 11:53:31 +0000
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
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-IBi9RG/[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp