Lines Matching refs:subtest
162 static const char *skip_reason(const struct test_suite *t, int subtest) in skip_reason() argument
167 return t->test_cases[subtest >= 0 ? subtest : 0].skip_reason; in skip_reason()
170 static const char *test_description(const struct test_suite *t, int subtest) in test_description() argument
172 if (t->test_cases && subtest >= 0) in test_description()
173 return t->test_cases[subtest].desc; in test_description()
178 static test_fnptr test_function(const struct test_suite *t, int subtest) in test_function() argument
180 if (subtest <= 0) in test_function()
183 return t->test_cases[subtest].run_case; in test_function()
210 static int run_test(struct test_suite *test, int subtest) in run_test() argument
242 err = test_function(test, subtest)(test, subtest); in run_test()
266 static int test_and_print(struct test_suite *t, int subtest) in test_and_print() argument
271 err = run_test(t, subtest); in test_and_print()
277 pr_debug("%s subtest %d:", t->desc, subtest + 1); in test_and_print()
284 const char *reason = skip_reason(t, subtest); in test_and_print()