From: Cyril Hrubis <chrubis@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v3] metadata: add linter for JSON file
Date: Tue, 4 Aug 2026 14:02:35 +0200 [thread overview]
Message-ID: <anHU21C6px2vFMyD@yuki.lan> (raw)
In-Reply-To: <6a71d2bb.3fefe569.37edfb.0582@mx.google.com>
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
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-08-04 12:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 13:59 [LTP] [PATCH v3] metadata: add linter for JSON file Andrea Cervesato
2026-06-25 15:43 ` [LTP] " linuxtestproject.agent
2026-08-03 13:07 ` [LTP] [PATCH v3] " Cyril Hrubis
2026-08-04 11:53 ` Andrea Cervesato via ltp
2026-08-04 12:02 ` Cyril Hrubis [this message]
2026-08-04 12:11 ` Andrea Cervesato via ltp
2026-08-04 15:39 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=anHU21C6px2vFMyD@yuki.lan \
--to=chrubis@suse.cz \
--cc=andrea.cervesato@suse.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox