Re: [PATCH v3] metadata: add linter for JSON file
Cyril Hrubis <[email protected]> Tue, 4 Aug 2026 14:02:35 +0200
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
Hi! > > 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> I want both, this single file should be part of make check-foo -- Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp