Lines Matching refs:suite
55 * enum kunit_status - Type of result for a test or test suite
56 * @KUNIT_SUCCESS: Denotes the test suite has not failed nor been skipped
83 /* Holds attributes for each test case and suite */
102 * with a &struct kunit_suite and will be run after the suite's init
103 * function and followed by the suite's exit function.
255 * @suite_init: called once per test suite before the test cases.
256 * @suite_exit: called once per test suite after all test cases.
260 * @attr: the attributes associated with the test suite
275 int (*suite_init)(struct kunit_suite *suite);
276 void (*suite_exit)(struct kunit_suite *suite);
373 int kunit_run_tests(struct kunit_suite *suite);
375 size_t kunit_suite_num_test_cases(struct kunit_suite *suite);
377 unsigned int kunit_test_case_num(struct kunit_suite *suite,
433 #define kunit_test_suite(suite) kunit_test_suites(&suite)
450 * This macro also suffixes the array and suite declarations it makes with
457 * Also, do not mark the suite or test case structs with __initdata because
464 #define kunit_test_init_section_suite(suite) \
465 kunit_test_init_section_suites(&suite)
467 #define kunit_suite_for_each_test_case(suite, test_case) \
468 for (test_case = suite->test_cases; test_case->run_case; test_case++)
470 enum kunit_status kunit_suite_has_succeeded(struct kunit_suite *suite);
657 * printk and log to per-test or per-suite log buffer. Logging only done
677 * Prints an info level message associated with the test suite being run.