/linux/lib/kunit/ |
H A D | debugfs.c | 66 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_results() 101 struct kunit_suite *suite; in debugfs_results_open() 103 suite = (struct kunit_suite *)inode->i_private; in debugfs_results_open() 114 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_run() 129 struct kunit_suite *suite; in debugfs_run_open() 131 suite = (struct kunit_suite *)inode->i_private; in debugfs_run_open() 146 struct kunit_suite *suite = (struct kunit_suite *) f_inode->i_private; in debugfs_run() 168 void kunit_debugfs_create_suite(struct kunit_suite *suite) in kunit_debugfs_create_suite() 222 void kunit_debugfs_destroy_suite(struct kunit_suite *suite) in kunit_debugfs_destroy_suite()
|
H A D | executor.c | 13 extern struct kunit_suite * const __kunit_suites_start[]; 14 extern struct kunit_suite * const __kunit_suites_end[]; 15 extern struct kunit_suite * const __kunit_init_suites_start[]; 16 extern struct kunit_suite * const __kunit_init_suites_end[]; 97 static struct kunit_suite * 98 kunit_filter_glob_tests(const struct kunit_suite *const suite, const char *test_glob) in kunit_filter_glob_tests() 102 struct kunit_suite *copy; in kunit_filter_glob_tests() 134 struct kunit_suite * const *suites; in kunit_free_suite_set() 156 struct kunit_suite **copy, **copy_start, *filtered_suite, *new_filtered_suite; in kunit_filter_suites() 160 struct kunit_suite * const *suites; in kunit_filter_suites() [all …]
|
H A 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()
|
H A D | test.c | 131 size_t kunit_suite_num_test_cases(struct kunit_suite *suite) in kunit_suite_num_test_cases() 150 static void kunit_print_suite_start(struct kunit_suite *suite) in kunit_print_suite_start() 205 enum kunit_status kunit_suite_has_succeeded(struct kunit_suite *suite) in kunit_suite_has_succeeded() 226 static void kunit_print_suite_end(struct kunit_suite *suite) in kunit_print_suite_end() 235 unsigned int kunit_test_case_num(struct kunit_suite *suite, in kunit_test_case_num() 380 struct kunit_suite *suite, in kunit_run_case_internal() 415 struct kunit_suite *suite) in kunit_run_case_cleanup() 425 struct kunit_suite *suite; 433 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case() 450 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case_cleanup() [all …]
|
H A D | executor_test.c | 13 static struct kunit_suite *alloc_fake_suite(struct kunit *test, 45 struct kunit_suite *subsuite[3] = {NULL, NULL}; in filter_suites_test() 71 struct kunit_suite *subsuite[3] = {NULL, NULL}; in filter_suites_test_glob_test() 100 struct kunit_suite *subsuite[3] = {NULL, NULL}; in filter_suites_to_empty_test() 152 struct kunit_suite *subsuite[3] = {NULL, NULL}; in filter_attr_test() 190 struct kunit_suite *subsuite[3] = {NULL, NULL}; in filter_attr_empty_test() 211 struct kunit_suite *subsuite[2] = {NULL}; in filter_attr_skip_test() 250 static struct kunit_suite executor_test_suite = { 281 static struct kunit_suite *alloc_fake_suite(struct kunit *test, in alloc_fake_suite() 285 struct kunit_suite *suite; in alloc_fake_suite()
|
H A D | attributes.c | 215 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_speed_get() 226 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_module_get() 240 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_is_init_get() 291 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_attr() 397 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite, in kunit_filter_attr_tests() 402 struct kunit_suite *copy; in kunit_filter_attr_tests()
|
H A D | kunit-example-test.c | 58 static int example_test_init_suite(struct kunit_suite *suite) in example_test_init_suite() 69 static void example_test_exit_suite(struct kunit_suite *suite) in example_test_exit_suite() 325 static struct kunit_suite example_test_suite = { 366 static struct kunit_suite example_init_test_suite = {
|
H A D | kunit-test.c | 106 static struct kunit_suite kunit_try_catch_test_suite = { 148 static struct kunit_suite kunit_fault_test_suite = { 573 static struct kunit_suite kunit_resource_test_suite = { 591 struct kunit_suite suite; in kunit_log_test() 658 static struct kunit_suite kunit_log_test_suite = { 698 static struct kunit_suite kunit_status_test_suite = { 861 static struct kunit_suite kunit_device_test_suite = { 866 static struct kunit_suite kunit_current_test_suite = {
|
H A D | platform-test.c | 115 static struct kunit_suite kunit_platform_device_suite = { 213 static struct kunit_suite kunit_platform_driver_suite = {
|
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_live_test_mod.c | 8 extern struct kunit_suite xe_bo_test_suite; 9 extern struct kunit_suite xe_dma_buf_test_suite; 10 extern struct kunit_suite xe_migrate_test_suite; 11 extern struct kunit_suite xe_mocs_test_suite;
|
H A D | xe_pci_test.c | 61 static struct kunit_suite xe_pci_test_suite = {
|
/linux/include/kunit/ |
H A D | test.h | 243 struct kunit_suite { struct 245 int (*suite_init)(struct kunit_suite *suite); argument 246 void (*suite_exit)(struct kunit_suite *suite); argument 262 struct kunit_suite * const *start; argument 263 struct kunit_suite * const *end; 322 int kunit_run_tests(struct kunit_suite *suite); 324 size_t kunit_suite_num_test_cases(struct kunit_suite *suite); 326 unsigned int kunit_test_case_num(struct kunit_suite *suite, 337 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); [all …]
|
H A D | attributes.h | 47 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite,
|
/linux/drivers/clk/ |
H A 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 = {
|
H A D | clk-fixed-rate_test.c | 168 static struct kunit_suite clk_fixed_rate_suite = { 273 static struct kunit_suite clk_fixed_rate_parent_suite = { 368 static struct kunit_suite clk_fixed_rate_of_suite = {
|
H A D | clk_test.c | 334 static struct kunit_suite clk_test_suite = { 455 static struct kunit_suite clk_uncached_test_suite = { 604 static struct kunit_suite 936 static struct kunit_suite clk_orphan_transparent_multiple_parent_mux_test_suite = { 1207 static struct kunit_suite 1293 static struct kunit_suite clk_orphan_transparent_single_parent_test_suite = { 1422 static struct kunit_suite 1758 static struct kunit_suite clk_range_test_suite = { 1946 static struct kunit_suite clk_range_maximize_test_suite = { 2126 static struct kunit_suite clk_range_minimize_test_suite = { [all …]
|
/linux/lib/ |
H A D | crc16_kunit.c | 68 static int crc16_init_test_data(struct kunit_suite *suite) in crc16_init_test_data() 144 static struct kunit_suite crc16_test_suite = {
|
H A D | is_signed_type_kunit.c | 42 static struct kunit_suite is_signed_type_test_suite = {
|
H A D | test_sort.c | 53 static struct kunit_suite sort_test_suite = {
|
/linux/sound/pci/hda/ |
H A D | cirrus_scodec_test.c | 287 static int cirrus_scodec_test_suite_init(struct kunit_suite *suite) in cirrus_scodec_test_suite_init() 301 static void cirrus_scodec_test_suite_exit(struct kunit_suite *suite) in cirrus_scodec_test_suite_exit() 357 static struct kunit_suite cirrus_scodec_test_suite = {
|
/linux/arch/s390/lib/ |
H A D | test_modules.c | 25 static struct kunit_suite modules_test_suite = {
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_connector_test.c | 178 static struct kunit_suite drmm_connector_init_test_suite = { 745 static struct kunit_suite drmm_connector_hdmi_init_test_suite = { 810 static struct kunit_suite drm_get_tv_mode_from_name_test_suite = { 867 static struct kunit_suite drm_hdmi_connector_get_broadcast_rgb_name_test_suite = { 925 static struct kunit_suite drm_hdmi_connector_get_output_format_name_test_suite = { 982 static struct kunit_suite drm_connector_attach_broadcast_rgb_property_test_suite = { 1277 static struct kunit_suite drm_hdmi_compute_mode_clock_test_suite = {
|
/linux/drivers/of/ |
H A D | of_test.c | 51 static struct kunit_suite of_dtb_suite = {
|
/linux/lib/math/tests/ |
H A D | int_pow_kunit.c | 44 static struct kunit_suite int_pow_test_suite = {
|
/linux/lib/math/ |
H A D | rational-test.c | 49 static struct kunit_suite rational_test_suite = {
|