/Linux-v6.6/lib/kunit/ |
D | debugfs.c | 41 struct kunit_suite *suite, in debugfs_print_result() argument 55 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_results() local 56 enum kunit_status success = kunit_suite_has_succeeded(suite); in debugfs_print_results() 59 if (!suite) in debugfs_print_results() 68 seq_printf(seq, KUNIT_SUBTEST_INDENT "# Subtest: %s\n", suite->name); in debugfs_print_results() 69 seq_printf(seq, KUNIT_SUBTEST_INDENT "1..%zd\n", kunit_suite_num_test_cases(suite)); in debugfs_print_results() 71 kunit_suite_for_each_test_case(suite, test_case) in debugfs_print_results() 72 debugfs_print_result(seq, suite, test_case); in debugfs_print_results() 74 if (suite->log) in debugfs_print_results() 75 seq_printf(seq, "%s", suite->log); in debugfs_print_results() [all …]
|
D | test.c | 160 size_t kunit_suite_num_test_cases(struct kunit_suite *suite) in kunit_suite_num_test_cases() argument 165 kunit_suite_for_each_test_case(suite, test_case) in kunit_suite_num_test_cases() 179 static void kunit_print_suite_start(struct kunit_suite *suite) in kunit_print_suite_start() argument 191 suite->name); in kunit_print_suite_start() 192 kunit_print_attr((void *)suite, false, KUNIT_LEVEL_CASE); in kunit_print_suite_start() 194 kunit_suite_num_test_cases(suite)); in kunit_print_suite_start() 234 enum kunit_status kunit_suite_has_succeeded(struct kunit_suite *suite) in kunit_suite_has_succeeded() argument 239 if (suite->suite_init_err) in kunit_suite_has_succeeded() 242 kunit_suite_for_each_test_case(suite, test_case) { in kunit_suite_has_succeeded() 255 static void kunit_print_suite_end(struct kunit_suite *suite) in kunit_print_suite_end() argument [all …]
|
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() argument 22 static inline void kunit_debugfs_destroy_suite(struct kunit_suite *suite) { } in kunit_debugfs_destroy_suite() argument
|
D | attributes.c | 174 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_speed_get() local 180 return ((void *) suite->attr.speed); in attr_speed_get() 185 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_module_get() local 191 else if (kunit_suite_num_test_cases(suite) > 0) in attr_module_get() 192 return ((void *) suite->test_cases[0].module_name); in attr_module_get() 231 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_attr() local 247 kunit_log(KERN_INFO, suite, "%*s# %s: %s", in kunit_print_attr() 337 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite, in kunit_filter_attr_tests() argument 347 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); in kunit_filter_attr_tests() 351 kunit_suite_for_each_test_case(suite, test_case) { n++; } in kunit_filter_attr_tests() [all …]
|
D | kunit-example-test.c | 58 static int example_test_init_suite(struct kunit_suite *suite) in example_test_init_suite() argument 60 kunit_info(suite, "initializing suite\n"); in example_test_init_suite() 69 static void example_test_exit_suite(struct kunit_suite *suite) in example_test_exit_suite() argument 71 kunit_info(suite, "exiting suite\n"); in example_test_exit_suite()
|
D | executor_test.c | 277 struct kunit_suite *suite; in alloc_fake_suite() local 280 suite = kunit_kzalloc(test, sizeof(*suite), GFP_KERNEL); in alloc_fake_suite() 281 strncpy((char *)suite->name, suite_name, sizeof(suite->name) - 1); in alloc_fake_suite() 282 suite->test_cases = test_cases; in alloc_fake_suite() 284 return suite; in alloc_fake_suite()
|
D | executor.c | 102 kunit_filter_glob_tests(const struct kunit_suite *const suite, const char *test_glob) in kunit_filter_glob_tests() argument 108 kunit_suite_for_each_test_case(suite, test_case) { in kunit_filter_glob_tests() 116 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); in kunit_filter_glob_tests() 127 kunit_suite_for_each_test_case(suite, test_case) { in kunit_filter_glob_tests()
|
D | kunit-test.c | 535 struct kunit_suite suite; in kunit_log_test() local 537 suite.log = kunit_kzalloc(test, KUNIT_LOG_SIZE, GFP_KERNEL); in kunit_log_test() 538 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, suite.log); in kunit_log_test() 542 kunit_log(KERN_INFO, &suite, "add to suite log."); in kunit_log_test() 543 kunit_log(KERN_INFO, &suite, "along with this."); in kunit_log_test() 551 strstr(suite.log, "add to suite log.")); in kunit_log_test() 553 strstr(suite.log, "along with this.")); in kunit_log_test()
|
/Linux-v6.6/crypto/ |
D | testmgr.c | 155 } suite; member 1989 const struct hash_testvec *template = desc->suite.hash.vecs; in alg_test_hash() 1990 unsigned int tcount = desc->suite.hash.count; in alg_test_hash() 2310 const struct aead_test_suite *suite, in generate_aead_message() argument 2323 if (suite->aad_iv && vec->alen >= ivsize) in generate_aead_message() 2361 mutate_aead_message(rng, vec, suite->aad_iv, ivsize); in generate_aead_message() 2364 if (suite->einval_allowed) in generate_aead_message() 2378 const struct aead_test_suite *suite, in generate_random_aead_testvec() argument 2427 generate_aead_message(rng, req, suite, vec, prefer_inauthentic); in generate_random_aead_testvec() 2440 &ctx->test_desc->suite.aead, in try_to_generate_inauthentic_testvec() [all …]
|
/Linux-v6.6/Documentation/dev-tools/kunit/ |
D | style.rst | 24 suite is a group of tests which test a related area of the kernel. A subsystem 31 Every test suite must belong to a subsystem. A subsystem is a collection of one 81 shutdown code which is run for all tests in the suite. Not all subsystems need 90 put into separate suites, with the type of test as the last element in the suite 92 or similar in the suite name. 94 The full test suite name (including the subsystem name) should be specified as 105 The ``kasan`` subsystem has only one suite, so the suite name is the same as 113 The suite name is ambiguous without the subsystem name. 115 Because there is only one suite in the ``kasan`` subsystem, the suite should 117 ``integration_test``. It should be a separate test suite. For example, if the [all …]
|
/Linux-v6.6/Documentation/ABI/testing/ |
D | debugfs-scmi | 9 Users: Debugging, any userspace test suite 20 Users: Debugging, any userspace test suite 28 Users: Debugging, any userspace test suite 36 Users: Debugging, any userspace test suite 44 Users: Debugging, any userspace test suite 52 Users: Debugging, any userspace test suite 61 Users: Debugging, any userspace test suite 70 Users: Debugging, any userspace test suite
|
D | debugfs-tpmi | 10 Users: Debugging, any user space test suite 18 Users: Debugging, any user space test suite 31 Users: Debugging, any user space test suite
|
D | debugfs-scmi-raw | 14 Users: Debugging, any userspace test suite 32 Users: Debugging, any userspace test suite 43 Users: Debugging, any userspace test suite 54 Users: Debugging, any userspace test suite 66 Users: Debugging, any userspace test suite 90 Users: Debugging, any userspace test suite 117 Users: Debugging, any userspace test suite
|
/Linux-v6.6/tools/testing/kunit/test_data/ |
D | test_parse_subtest_header.log | 4 # Subtest: suite 7 ok 1 suite
|
D | test_is_test_passed-no_tests_no_plan.log | 3 # Subtest: suite 7 ok 1 - suite
|
D | test_parse_ktap_output.log | 8 ok 1 suite
|
/Linux-v6.6/include/kunit/ |
D | test.h | 246 int (*suite_init)(struct kunit_suite *suite); 247 void (*suite_exit)(struct kunit_suite *suite); 320 int kunit_run_tests(struct kunit_suite *suite); 322 size_t kunit_suite_num_test_cases(struct kunit_suite *suite); 324 unsigned int kunit_test_case_num(struct kunit_suite *suite, 374 #define kunit_test_suite(suite) kunit_test_suites(&suite) argument 400 #define kunit_test_init_section_suite(suite) \ argument 401 kunit_test_init_section_suites(&suite) 403 #define kunit_suite_for_each_test_case(suite, test_case) \ argument 404 for (test_case = suite->test_cases; test_case->run_case; test_case++) [all …]
|
D | attributes.h | 47 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite,
|
/Linux-v6.6/tools/testing/selftests/tc-testing/creating-plugins/ |
D | AddingPlugins.txt | 14 - adding commands to be run before and/or after the test suite 18 pre (the pre-suite stage) 23 post (the post-suite stage) 48 TAP output. The tdc.py script will do that for the test suite as 52 post-suite method using this info passed in to the pre_suite method.
|
/Linux-v6.6/tools/testing/selftests/tc-testing/ |
D | README | 1 tdc - Linux Traffic Control (tc) unit testing suite 76 One run of tests is considered a "test suite" (this will be refined in the 77 future). A test suite has one or more test cases in it. 134 -P, --pause Pause execution just before post-suite stage 198 pre- and post-suite 203 The pre-suite hook receives the number of tests and an array of test ids. 215 - pre (pre-suite) 220 - post (post-suite) 254 first version of the tc testing suite. This work was presented at
|
D | TODO.txt | 9 need to better handle problems in pre- and post-suite. 28 and a way to configure a test suite,
|
/Linux-v6.6/Documentation/arch/arm/vfp/ |
D | release-notes.rst | 14 John R. Hauser using the TestFloat-2a test suite. Details of this 15 library and test suite can be found at:
|
/Linux-v6.6/mm/damon/ |
D | Kconfig | 20 This builds the DAMON Kunit test suite. 48 This builds the DAMON virtual addresses operations Kunit test suite. 80 This builds the DAMON debugfs interface Kunit test suite.
|
/Linux-v6.6/lib/ |
D | Kconfig.kfence | 55 Warning: The KUnit test suite fails with this option enabled - due to 87 tristate "KFENCE integration test suite" if !KUNIT_ALL_TESTS 91 Test suite for KFENCE, testing various error detection scenarios with
|
/Linux-v6.6/Documentation/bpf/ |
D | s390.rst | 15 The following is required to build and run the test suite: 105 In addition to the usual Kconfig options required to run the BPF test suite, it 127 4. Running the test suite 160 After that, the test suite can be run using the following commands::
|