Lines Matching refs:suite
56 * enum kunit_status - Type of result for a test or test suite
57 * @KUNIT_SUCCESS: Denotes the test suite has not failed nor been skipped
84 /* Holds attributes for each test case and suite */
101 * with a &struct kunit_suite and will be run after the suite's init
102 * function and followed by the suite's exit function.
226 * @suite_init: called once per test suite before the test cases.
227 * @suite_exit: called once per test suite after all test cases.
231 * @attr: the attributes associated with the test suite
246 int (*suite_init)(struct kunit_suite *suite);
247 void (*suite_exit)(struct kunit_suite *suite);
320 int kunit_run_tests(struct kunit_suite *suite);
322 size_t kunit_suite_num_test_cases(struct kunit_suite *suite);
324 unsigned int kunit_test_case_num(struct kunit_suite *suite,
374 #define kunit_test_suite(suite) kunit_test_suites(&suite)
392 * that it suffixes the array and suite declarations it makes with _probe;
400 #define kunit_test_init_section_suite(suite) \
401 kunit_test_init_section_suites(&suite)
403 #define kunit_suite_for_each_test_case(suite, test_case) \
404 for (test_case = suite->test_cases; test_case->run_case; test_case++)
406 enum kunit_status kunit_suite_has_succeeded(struct kunit_suite *suite);
515 * printk and log to per-test or per-suite log buffer. Logging only done
535 * Prints an info level message associated with the test suite being run.