Lines Matching refs:test_cases
125 if (!t->test_cases) in num_subtests()
129 while (t->test_cases[num].name) in num_subtests()
142 if (!t->test_cases) in skip_reason()
145 return t->test_cases[subtest >= 0 ? subtest : 0].skip_reason; in skip_reason()
150 if (t->test_cases && subtest >= 0) in test_description()
151 return t->test_cases[subtest].desc; in test_description()
159 return t->test_cases[0].run_case; in test_function()
161 return t->test_cases[subtest].run_case; in test_function()
313 struct test_case test_cases[] = { in run_shell_tests() local
321 .desc = test_cases[0].desc, in run_shell_tests()
322 .test_cases = test_cases, in run_shell_tests()