perf tests: Run time generate shell test suites
authorIan Rogers <irogers@google.com>
Wed, 21 Feb 2024 03:41:54 +0000 (19:41 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 22 Feb 2024 17:13:06 +0000 (09:13 -0800)
commit964461ee370f3c0d63c173bfe4e4995f66d91578
tree18b682d4cd1a3ef0beaff6dab807615641132be6
parentf3295f5b067d3c2655f0b2cd14d0b91b83ca41eb
perf tests: Run time generate shell test suites

Rather than special shell test logic, do a single pass to create an
array of test suites. Hold the shell test file name in the test suite
priv field. This makes the special shell test logic in builtin-test.c
redundant so remove it.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Justin Stitt <justinstitt@google.com>
Cc: Bill Wendling <morbo@google.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Cc: llvm@lists.linux.dev
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240221034155.1500118-8-irogers@google.com
tools/perf/tests/builtin-test.c
tools/perf/tests/tests-scripts.c
tools/perf/tests/tests-scripts.h