Searched refs:suite_set (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/lib/kunit/ |
H A D | executor.c | 140 for (suites = suite_set.start; suites < suite_set.end; suites++) { in kunit_free_suite_set() 144 kfree(suite_set.start); in kunit_free_suite_set() 166 const size_t max = suite_set->end - suite_set->start; in kunit_filter_suites() 194 for (i = 0; &suite_set->start[i] != suite_set->end; i++) { in kunit_filter_suites() 195 filtered_suite = suite_set->start[i]; in kunit_filter_suites() 266 size_t num_suites = suite_set->end - suite_set->start; in kunit_exec_run_tests() 284 for (suites = suite_set->start; suites < suite_set->end; suites++) { in kunit_exec_list_tests() 320 struct kunit_suite_set suite_set = { in kunit_run_all_tests() local 330 suite_set = kunit_filter_suites(&suite_set, filter_glob_param, in kunit_run_all_tests() 339 kunit_exec_run_tests(&suite_set, true); in kunit_run_all_tests() [all …]
|
H A D | executor_test.c | 46 struct kunit_suite_set suite_set = { in filter_suites_test() local 56 got = kunit_filter_suites(&suite_set, "suite2", NULL, NULL, &err); in filter_suites_test() 72 struct kunit_suite_set suite_set = { in filter_suites_test_glob_test() local 101 struct kunit_suite_set suite_set = { in filter_suites_to_empty_test() local 153 struct kunit_suite_set suite_set = { in filter_attr_test() local 172 got = kunit_filter_suites(&suite_set, NULL, filter, NULL, &err); in filter_attr_test() 191 struct kunit_suite_set suite_set = { in filter_attr_empty_test() local 212 struct kunit_suite_set suite_set = { in filter_attr_skip_test() local 259 static void free_suite_set(void *suite_set) in free_suite_set() argument 261 kunit_free_suite_set(*(struct kunit_suite_set *)suite_set); in free_suite_set() [all …]
|
H A D | test.c | 778 struct kunit_suite_set suite_set = { in kunit_module_init() local 784 suite_set = kunit_filter_suites(&suite_set, in kunit_module_init() 791 mod->kunit_suites = (struct kunit_suite **)suite_set.start; in kunit_module_init() 792 mod->num_kunit_suites = suite_set.end - suite_set.start; in kunit_module_init() 795 kunit_exec_run_tests(&suite_set, false); in kunit_module_init() 797 kunit_exec_list_tests(&suite_set, false); in kunit_module_init() 799 kunit_exec_list_tests(&suite_set, true); in kunit_module_init() 806 struct kunit_suite_set suite_set = { in kunit_module_exit() local 816 if (!suite_set.start || !virt_addr_valid(suite_set.start)) in kunit_module_exit() 823 kunit_free_suite_set(suite_set); in kunit_module_exit()
|
/openbmc/linux/include/kunit/ |
H A D | test.h | 328 kunit_filter_suites(const struct kunit_suite_set *suite_set, 333 void kunit_free_suite_set(struct kunit_suite_set suite_set); 339 void kunit_exec_run_tests(struct kunit_suite_set *suite_set, bool builtin); 340 void kunit_exec_list_tests(struct kunit_suite_set *suite_set, bool include_attr);
|