diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2015-11-06 17:03:38 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-11-06 17:50:04 -0300 |
commit | 345c99a303e1d97b407bf99190314a878d59ca92 (patch) | |
tree | e1d85049807096ca528dfa5c3b8c4a0297b80449 | |
parent | ba1fae431e74bb427a699187434142fd3fe98390 (diff) |
perf test: Do not be case sensitive when searching for matching tests
Before:
# perf test llvm
# perf test LLVM
35: Test LLVM searching and compiling : Ok
#
After
# perf test llvm
35: Test LLVM searching and compiling : Ok
#
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/perf/tests/builtin-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c index 7b0120abc137..80c442eab767 100644 --- a/tools/perf/tests/builtin-test.c +++ b/tools/perf/tests/builtin-test.c @@ -196,7 +196,7 @@ static bool perf_test__matches(struct test *test, int curr, int argc, const char continue; } - if (strstr(test->desc, argv[i])) + if (strcasestr(test->desc, argv[i])) return true; } |