[LTP] [PATCH v1 2/2] options: add new --run-pattern
Andrea Cervesato
andrea.cervesato@suse.com
Fri Feb 14 11:48:39 CET 2025
Hi!
On 2/14/25 11:16, Cyril Hrubis wrote:
> Hi!
>> Add the --run-pattern|-S option to filter tests based on a specific
>> string pattern. This option accepts a list of strings, allowing users
>> to specify multiple patterns. A common usage example is as follows:
>>
>> kirk --run-pattern sendfile madvice
>>
>> Each string is compared against the labels defined in the runtest file,
>> and only tests containing the specified patterns will be executed.
> So this is a substring match, right? I wonder if we should use a regular
> expression instead, so that we can do more complex matches.
>
I thought about that, but I wanted to start with something easier and
check for feedback. We are already doing it for skip-tests option.
Andrea
More information about the ltp
mailing list