Lines Matching full:suite
13 * PRINT_ALWAYS - attribute is printed for every test case and suite if set
14 * PRINT_SUITE - attribute is printed for every suite if set but not for test cases
215 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_speed_get() local
221 return ((void *) suite->attr.speed); in attr_speed_get()
226 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_module_get() local
232 else if (kunit_suite_num_test_cases(suite) > 0) in attr_module_get()
233 return ((void *) suite->test_cases[0].module_name); in attr_module_get()
240 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_is_init_get() local
246 return ((void *) suite->is_init); in attr_is_init_get()
291 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_attr() local
307 kunit_log(KERN_INFO, suite, "%*s# %s: %s", in kunit_print_attr()
397 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite, in kunit_filter_attr_tests() argument
406 /* Allocate memory for new copy of suite and list of test cases */ in kunit_filter_attr_tests()
407 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); in kunit_filter_attr_tests()
411 kunit_suite_for_each_test_case(suite, test_case) { n++; } in kunit_filter_attr_tests()
426 /* Save suite attribute value and filtering result on that value */ in kunit_filter_attr_tests()
427 suite_val = filter.attr->get_attr((void *)suite, false); in kunit_filter_attr_tests()
433 kunit_suite_for_each_test_case(suite, test_case) { in kunit_filter_attr_tests()
442 * If not, filter on suite value if set. If not, filter on in kunit_filter_attr_tests()