Home
last modified time | relevance | path

Searched refs:num_suites (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/lib/kunit/
Dexecutor.c262 size_t num_suites = suite_set->end - suite_set->start; in kunit_exec_run_tests() local
264 if (builtin || num_suites) { in kunit_exec_run_tests()
266 pr_info("1..%zu\n", num_suites); in kunit_exec_run_tests()
269 __kunit_test_suites_init(suite_set->start, num_suites); in kunit_exec_run_tests()
300 size_t init_num_suites, num_suites, suite_size; in kunit_merge_suite_sets() local
304 num_suites = suite_set.end - suite_set.start; in kunit_merge_suite_sets()
308 total_suite_start = kmalloc_array(init_num_suites + num_suites, suite_size, GFP_KERNEL); in kunit_merge_suite_sets()
317 memcpy(total_suite_start + init_num_suites, suite_set.start, num_suites * suite_size); in kunit_merge_suite_sets()
321 total_suite_set.end = total_suite_start + (init_num_suites + num_suites); in kunit_merge_suite_sets()
Dtest.c711 int __kunit_test_suites_init(struct kunit_suite * const * const suites, int num_suites) in __kunit_test_suites_init() argument
715 if (num_suites == 0) in __kunit_test_suites_init()
718 if (!kunit_enabled() && num_suites > 0) { in __kunit_test_suites_init()
732 for (i = 0; i < num_suites; i++) { in __kunit_test_suites_init()
748 void __kunit_test_suites_exit(struct kunit_suite **suites, int num_suites) in __kunit_test_suites_exit() argument
755 for (i = 0; i < num_suites; i++) in __kunit_test_suites_exit()
/linux-6.12.1/include/kunit/
Dtest.h337 int __kunit_test_suites_init(struct kunit_suite * const * const suites, int num_suites);
339 void __kunit_test_suites_exit(struct kunit_suite **suites, int num_suites);