diff options
| author | Namhyung Kim <[email protected]> | 2025-07-01 20:10:25 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-07-01 22:51:53 +0000 |
| commit | 139ee54a2b3e9a4042307dd0484f85c0b3b45539 (patch) | |
| tree | 1469fc7c27a0b99774f780266c55d6fa1e09206d /tools/lib/subcmd/help.c | |
| parent | perf test: Add sched latency and script shell tests (diff) | |
| download | kernel-139ee54a2b3e9a4042307dd0484f85c0b3b45539.tar.gz kernel-139ee54a2b3e9a4042307dd0484f85c0b3b45539.zip | |
perf test: Check test suite description properly
Currently perf test checks the given string with descriptions for both
test suites and cases (subtests). But sometimes it's confusing since
the subtests don't contain the important keyword.
I think it's better to check the suite level and run the whole suite
together if it matches description in the suite.
Before:
$ perf test hwmon
(no output)
After:
$ perf test hwmon
10: Hwmon PMU :
10.1: Basic parsing test : Ok
10.2: Parsing without PMU name : Ok
10.3: Parsing with PMU name : Ok
And keep the existing behavior when it only matches test description only.
$ perf test "Equal cpu map"
39.5: Equal cpu map : Ok
Reviewed-by: Ian Rogers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/lib/subcmd/help.c')
0 files changed, 0 insertions, 0 deletions
