Home
last modified time | relevance | path

Searched refs:kunit_suite (Results 1 – 25 of 61) sorted by relevance

123

/linux-5.19.10/lib/kunit/
Dexecutor_test.c13 struct kunit_suite *const *to_free);
14 static struct kunit_suite *alloc_fake_suite(struct kunit *test,
46 struct kunit_suite *subsuite[3] = {NULL, NULL, NULL}; in filter_subsuite_test()
47 struct kunit_suite * const *filtered; in filter_subsuite_test()
69 struct kunit_suite *subsuite[3] = {NULL, NULL, NULL}; in filter_subsuite_test_glob_test()
70 struct kunit_suite * const *filtered; in filter_subsuite_test_glob_test()
97 struct kunit_suite *subsuite[3] = {NULL, NULL, NULL}; in filter_subsuite_to_empty_test()
98 struct kunit_suite * const *filtered; in filter_subsuite_to_empty_test()
116 struct kunit_suite * const * const *suites; in kfree_subsuites_at_end()
126 struct kunit_suite *subsuites[2][2] = { in filter_suites_test()
[all …]
Dexecutor.c12 extern struct kunit_suite * const * const __kunit_suites_start[];
13 extern struct kunit_suite * const * const __kunit_suites_end[];
57 static struct kunit_suite *
58 kunit_filter_tests(struct kunit_suite *const suite, const char *test_glob) in kunit_filter_tests()
62 struct kunit_suite *copy; in kunit_filter_tests()
97 static struct kunit_suite * const *
98 kunit_filter_subsuite(struct kunit_suite * const * const subsuite, in kunit_filter_subsuite()
102 struct kunit_suite **filtered, *filtered_suite; in kunit_filter_subsuite()
133 struct kunit_suite * const * const *start;
134 struct kunit_suite * const * const *end;
[all …]
Ddebugfs.c40 struct kunit_suite *suite, in debugfs_print_result()
54 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_results()
78 struct kunit_suite *suite; in debugfs_results_open()
80 suite = (struct kunit_suite *)inode->i_private; in debugfs_results_open()
92 void kunit_debugfs_create_suite(struct kunit_suite *suite) in kunit_debugfs_create_suite()
108 void kunit_debugfs_destroy_suite(struct kunit_suite *suite) in kunit_debugfs_destroy_suite()
Ddebugfs.h13 void kunit_debugfs_create_suite(struct kunit_suite *suite);
14 void kunit_debugfs_destroy_suite(struct kunit_suite *suite);
20 static inline void kunit_debugfs_create_suite(struct kunit_suite *suite) { } in kunit_debugfs_create_suite()
22 static inline void kunit_debugfs_destroy_suite(struct kunit_suite *suite) { } in kunit_debugfs_destroy_suite()
Dtest.c125 size_t kunit_suite_num_test_cases(struct kunit_suite *suite) in kunit_suite_num_test_cases()
137 static void kunit_print_suite_start(struct kunit_suite *suite) in kunit_print_suite_start()
152 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_ok_not_ok()
177 enum kunit_status kunit_suite_has_succeeded(struct kunit_suite *suite) in kunit_suite_has_succeeded()
198 static void kunit_print_suite_end(struct kunit_suite *suite) in kunit_print_suite_end()
207 unsigned int kunit_test_case_num(struct kunit_suite *suite, in kunit_test_case_num()
323 struct kunit_suite *suite, in kunit_run_case_internal()
350 struct kunit_suite *suite) in kunit_run_case_cleanup()
360 struct kunit_suite *suite;
368 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case()
[all …]
Dkunit-example-test.c47 static int example_test_init_suite(struct kunit_suite *suite) in example_test_init_suite()
166 static struct kunit_suite example_test_suite = {
Dkunit-test.c100 static struct kunit_suite kunit_try_catch_test_suite = {
432 static struct kunit_suite kunit_resource_test_suite = {
446 static struct kunit_suite kunit_log_test_suite = {
453 struct kunit_suite suite; in kunit_log_test()
512 static struct kunit_suite kunit_status_test_suite = {
Dstring-stream-test.c49 static struct kunit_suite string_stream_test_suite = {
/linux-5.19.10/include/kunit/
Dtest.h170 struct kunit_suite { struct
172 int (*suite_init)(struct kunit_suite *suite); argument
173 void (*suite_exit)(struct kunit_suite *suite); argument
233 int kunit_run_tests(struct kunit_suite *suite);
235 size_t kunit_suite_num_test_cases(struct kunit_suite *suite);
237 unsigned int kunit_test_case_num(struct kunit_suite *suite,
240 int __kunit_test_suites_init(struct kunit_suite * const * const suites);
242 void __kunit_test_suites_exit(struct kunit_suite **suites);
286 static struct kunit_suite *unique_array[] = { __VA_ARGS__, NULL }; \
288 static struct kunit_suite **unique_suites \
[all …]
/linux-5.19.10/drivers/mmc/host/
Dsdhci-of-aspeed-test.c94 static struct kunit_suite aspeed_sdhci_test_suite = {
99 static struct kunit_suite *aspeed_sdc_test_suite_array[] = {
104 static struct kunit_suite **aspeed_sdc_test_suites
/linux-5.19.10/drivers/virt/nitro_enclaves/
Dne_misc_dev_test.c149 static struct kunit_suite ne_misc_dev_test_suite = {
154 static struct kunit_suite *ne_misc_dev_test_suites[] = {
/linux-5.19.10/drivers/clk/
Dclk-gate_test.c125 static struct kunit_suite clk_gate_register_test_suite = {
232 static struct kunit_suite clk_gate_test_suite = {
305 static struct kunit_suite clk_gate_test_invert_suite = {
377 static struct kunit_suite clk_gate_test_hiword_suite = {
452 static struct kunit_suite clk_gate_test_enabled_suite = {
Dclk_test.c253 static struct kunit_suite clk_test_suite = {
339 static struct kunit_suite clk_orphan_transparent_single_parent_test_suite = {
648 static struct kunit_suite clk_range_test_suite = {
769 static struct kunit_suite clk_range_maximize_test_suite = {
886 static struct kunit_suite clk_range_minimize_test_suite = {
/linux-5.19.10/arch/s390/lib/
Dtest_modules.c25 static struct kunit_suite modules_test_suite = {
Dtest_kprobes.c68 static struct kunit_suite kprobes_test_suite = {
/linux-5.19.10/lib/
Dtest_sort.c41 static struct kunit_suite sort_test_suite = {
Dtest_bits.c69 static struct kunit_suite bits_test_suite = {
Dslub_kunit.c145 static struct kunit_suite test_suite = {
/linux-5.19.10/lib/math/
Drational-test.c49 static struct kunit_suite rational_test_suite = {
/linux-5.19.10/drivers/rtc/
Dlib_test.c74 static struct kunit_suite rtc_lib_test_suite = {
/linux-5.19.10/net/mptcp/
Dcrypto_test.c65 static struct kunit_suite mptcp_crypto_suite = {
/linux-5.19.10/kernel/time/
Dtime_test.c93 static struct kunit_suite time_test_suite = {
/linux-5.19.10/fs/
Dbinfmt_elf_test.c59 static struct kunit_suite binfmt_elf_test_suite = {
/linux-5.19.10/drivers/base/power/
Dqos-test.c113 static struct kunit_suite pm_qos_test_module = {
/linux-5.19.10/Documentation/dev-tools/kunit/
Darchitecture.rst49 are represented by the ``struct kunit_suite``. For example:
60 static struct kunit_suite example_test_suite = {
83 ``struct kunit_suite``, and is populated by the ``kunit_test_suites()``

123