Lines Matching refs:test_suite
42 extern struct test_suite *arch_tests[];
44 static struct test_suite *arch_tests[] = {
49 static struct test_suite *generic_tests[] = {
129 static struct test_suite **tests[] = {
143 static int num_subtests(const struct test_suite *t) in num_subtests()
157 static bool has_subtests(const struct test_suite *t) in has_subtests()
162 static const char *skip_reason(const struct test_suite *t, int subtest) in skip_reason()
170 static const char *test_description(const struct test_suite *t, int subtest) in test_description()
178 static test_fnptr test_function(const struct test_suite *t, int subtest) in test_function()
210 static int run_test(struct test_suite *test, int subtest) in run_test()
266 static int test_and_print(struct test_suite *t, int subtest) in test_and_print()
306 static int shell_test__run(struct test_suite *test, int subdir __maybe_unused) in shell_test__run()
342 struct test_suite test_suite = { in run_shell_tests() local
349 if (test_suite.desc == NULL || in run_shell_tests()
350 !perf_test__matches(test_suite.desc, curr, argc, argv)) in run_shell_tests()
354 pr_info("%3d: %-*s:", i, width, test_suite.desc); in run_shell_tests()
361 test_and_print(&test_suite, 0); in run_shell_tests()
368 struct test_suite *t; in __cmd_test()
459 struct test_suite t = { in perf_test__list_shell()
474 struct test_suite *t; in perf_test__list()