Re: [LTP] [PATCH v3] metadata: add linter for JSON file
Andrea Cervesato via ltp <[email protected]>
| Newsgroups | it.linux.lists.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
[email protected]
--
Mailing list info: https://lists.linux.it/listinfo/ltp