[LTP] [PATCH v1 2/2] options: add new --run-pattern

Cyril Hrubis chrubis@suse.cz
Fri Feb 14 11:16:24 CET 2025


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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list