Searched refs:suite_set (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/lib/kunit/ |
D | executor.c | 96 struct suite_set { struct 101 static void kunit_free_suite_set(struct suite_set suite_set) in kunit_free_suite_set() argument 105 for (suites = suite_set.start; suites < suite_set.end; suites++) in kunit_free_suite_set() 107 kfree(suite_set.start); in kunit_free_suite_set() 110 static struct suite_set kunit_filter_suites(const struct suite_set *suite_set, in kunit_filter_suites() argument 116 struct suite_set filtered; in kunit_filter_suites() 119 const size_t max = suite_set->end - suite_set->start; in kunit_filter_suites() 130 for (i = 0; &suite_set->start[i] != suite_set->end; i++) { in kunit_filter_suites() 131 if (!glob_match(filter.suite_glob, suite_set->start[i]->name)) in kunit_filter_suites() 134 filtered_suite = kunit_filter_tests(suite_set->start[i], filter.test_glob); in kunit_filter_suites() [all …]
|
D | executor_test.c | 45 struct suite_set suite_set = {.start = subsuite, .end = &subsuite[2]}; in filter_suites_test() local 46 struct suite_set got; in filter_suites_test() 53 got = kunit_filter_suites(&suite_set, "suite2", &err); in filter_suites_test() 69 struct suite_set suite_set = {.start = subsuite, .end = &subsuite[2]}; in filter_suites_test_glob_test() local 70 struct suite_set got; in filter_suites_test_glob_test() 77 got = kunit_filter_suites(&suite_set, "suite2.test2", &err); in filter_suites_test_glob_test() 96 struct suite_set suite_set = {.start = subsuite, .end = &subsuite[2]}; in filter_suites_to_empty_test() local 97 struct suite_set got; in filter_suites_to_empty_test() 103 got = kunit_filter_suites(&suite_set, "not_found", &err); in filter_suites_to_empty_test()
|