Lines Matching refs:subtest
137 static const char *skip_reason(const struct test_suite *t, int subtest) in skip_reason() argument
139 if (t->test_cases && subtest >= 0) in skip_reason()
140 return t->test_cases[subtest].skip_reason; in skip_reason()
145 static const char *test_description(const struct test_suite *t, int subtest) in test_description() argument
147 if (t->test_cases && subtest >= 0) in test_description()
148 return t->test_cases[subtest].desc; in test_description()
153 static test_fnptr test_function(const struct test_suite *t, int subtest) in test_function() argument
155 if (subtest <= 0) in test_function()
158 return t->test_cases[subtest].run_case; in test_function()
185 static int run_test(struct test_suite *test, int subtest) in run_test() argument
217 err = test_function(test, subtest)(test, subtest); in run_test()
241 static int test_and_print(struct test_suite *t, int subtest) in test_and_print() argument
246 err = run_test(t, subtest); in test_and_print()
252 pr_debug("%s subtest %d:", t->desc, subtest + 1); in test_and_print()
259 const char *reason = skip_reason(t, subtest); in test_and_print()