Lines Matching full:suite
54 * enum kunit_status - Type of result for a test or test suite
55 * @KUNIT_SUCCESS: Denotes the test suite has not failed nor been skipped
82 /* Holds attributes for each test case and suite */
99 * with a &struct kunit_suite and will be run after the suite's init
100 * function and followed by the suite's exit function.
224 * @suite_init: called once per test suite before the test cases.
225 * @suite_exit: called once per test suite after all test cases.
229 * @attr: the attributes associated with the test suite
244 int (*suite_init)(struct kunit_suite *suite);
245 void (*suite_exit)(struct kunit_suite *suite);
319 int kunit_run_tests(struct kunit_suite *suite);
321 size_t kunit_suite_num_test_cases(struct kunit_suite *suite);
323 unsigned int kunit_test_case_num(struct kunit_suite *suite,
376 #define kunit_test_suite(suite) kunit_test_suites(&suite) argument
393 * This macro also suffixes the array and suite declarations it makes with
400 * Also, do not mark the suite or test case structs with __initdata because
407 #define kunit_test_init_section_suite(suite) \ argument
408 kunit_test_init_section_suites(&suite)
410 #define kunit_suite_for_each_test_case(suite, test_case) \ argument
411 for (test_case = suite->test_cases; test_case->run_case; test_case++)
413 enum kunit_status kunit_suite_has_succeeded(struct kunit_suite *suite);
522 * printk and log to per-test or per-suite log buffer. Logging only done
542 * Prints an info level message associated with the test suite being run.