/linux-5.19.10/lib/kunit/ |
D | executor_test.c | 13 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 …]
|
D | executor.c | 12 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 …]
|
D | debugfs.c | 40 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()
|
D | debugfs.h | 13 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()
|
D | test.c | 125 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 …]
|
D | kunit-example-test.c | 47 static int example_test_init_suite(struct kunit_suite *suite) in example_test_init_suite() 166 static struct kunit_suite example_test_suite = {
|
D | kunit-test.c | 100 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 = {
|
D | string-stream-test.c | 49 static struct kunit_suite string_stream_test_suite = {
|
/linux-5.19.10/include/kunit/ |
D | test.h | 170 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/ |
D | sdhci-of-aspeed-test.c | 94 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/ |
D | ne_misc_dev_test.c | 149 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/ |
D | clk-gate_test.c | 125 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 = {
|
D | clk_test.c | 253 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/ |
D | test_modules.c | 25 static struct kunit_suite modules_test_suite = {
|
D | test_kprobes.c | 68 static struct kunit_suite kprobes_test_suite = {
|
/linux-5.19.10/lib/ |
D | test_sort.c | 41 static struct kunit_suite sort_test_suite = {
|
D | test_bits.c | 69 static struct kunit_suite bits_test_suite = {
|
D | slub_kunit.c | 145 static struct kunit_suite test_suite = {
|
/linux-5.19.10/lib/math/ |
D | rational-test.c | 49 static struct kunit_suite rational_test_suite = {
|
/linux-5.19.10/drivers/rtc/ |
D | lib_test.c | 74 static struct kunit_suite rtc_lib_test_suite = {
|
/linux-5.19.10/net/mptcp/ |
D | crypto_test.c | 65 static struct kunit_suite mptcp_crypto_suite = {
|
/linux-5.19.10/kernel/time/ |
D | time_test.c | 93 static struct kunit_suite time_test_suite = {
|
/linux-5.19.10/fs/ |
D | binfmt_elf_test.c | 59 static struct kunit_suite binfmt_elf_test_suite = {
|
/linux-5.19.10/drivers/base/power/ |
D | qos-test.c | 113 static struct kunit_suite pm_qos_test_module = {
|
/linux-5.19.10/Documentation/dev-tools/kunit/ |
D | architecture.rst | 49 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()``
|