Home
last modified time | relevance | path

Searched refs:suite (Results 1 – 25 of 83) sorted by relevance

1234

/linux/lib/kunit/
H A Dattributes.c215 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_speed_get() local
221 return ((void *) suite->attr.speed); in attr_speed_get()
226 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_module_get() local
232 else if (kunit_suite_num_test_cases(suite) > 0) in attr_module_get()
233 return ((void *) suite->test_cases[0].module_name); in attr_module_get()
240 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_is_init_get() local
246 return ((void *) suite->is_init); in attr_is_init_get()
291 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_attr() local
307 kunit_log(KERN_INFO, suite, "%*s# %s: %s", in kunit_print_attr()
397 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite, in kunit_filter_attr_tests() argument
[all …]
H A 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() argument
22 static inline void kunit_debugfs_destroy_suite(struct kunit_suite *suite) { } in kunit_debugfs_destroy_suite() argument
H A Dexecutor_test.c285 struct kunit_suite *suite; in alloc_fake_suite() local
288 suite = kunit_kzalloc(test, sizeof(*suite), GFP_KERNEL); in alloc_fake_suite()
289 strscpy((char *)suite->name, suite_name, sizeof(suite->name)); in alloc_fake_suite()
290 suite->test_cases = test_cases; in alloc_fake_suite()
292 return suite; in alloc_fake_suite()
H A Dexecutor.c126 kunit_filter_glob_tests(const struct kunit_suite *const suite, const char *test_glob) in kunit_filter_glob_tests() argument
132 kunit_suite_for_each_test_case(suite, test_case) { in kunit_filter_glob_tests()
140 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); in kunit_filter_glob_tests()
151 kunit_suite_for_each_test_case(suite, test_case) { in kunit_filter_glob_tests()
H A Dkunit-test.c594 struct kunit_suite suite; in kunit_log_test() local
598 suite.log = kunit_alloc_string_stream(test, GFP_KERNEL); in kunit_log_test()
599 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, suite.log); in kunit_log_test()
600 string_stream_set_append_newlines(suite.log, true); in kunit_log_test()
604 kunit_log(KERN_INFO, &suite, "add to suite log."); in kunit_log_test()
605 kunit_log(KERN_INFO, &suite, "along with this."); in kunit_log_test()
617 full_log = string_stream_get_string(suite.log); in kunit_log_test()
/linux/Documentation/ABI/testing/
H A Ddebugfs-scmi9 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
H A Ddebugfs-scmi-raw14 Users: Debugging, any userspace test suite
32 Users: Debugging, any userspace test suite
48 Users: Debugging, any userspace test suite
68 Users: Debugging, any userspace test suite
79 Users: Debugging, any userspace test suite
90 Users: Debugging, any userspace test suite
102 Users: Debugging, any userspace test suite
126 Users: Debugging, any userspace test suite
153 Users: Debugging, any userspace test suite
179 Users: Debugging, any userspace test suite
[all …]
H A Ddebugfs-tpmi10 Users: Debugging, any user space test suite
18 Users: Debugging, any user space test suite
31 Users: Debugging, any user space test suite
/linux/tools/testing/kunit/test_data/
H A Dtest_is_test_passed-no_tests_no_plan.log3 # Subtest: suite
7 ok 1 - suite
H A Dtest_parse_subtest_header.log4 # Subtest: suite
7 ok 1 suite
H A Dtest_parse_attributes.log4 # Subtest: suite
9 ok 1 suite
H A Dtest_parse_ktap_output.log8 ok 1 suite
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_test_harness.h26 #define KVM_ONE_VCPU_TEST(suite, test, guestcode) \ argument
29 TEST_F(suite, test) \
/linux/tools/testing/selftests/tc-testing/creating-plugins/
H A DAddingPlugins.txt14 - 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/tools/testing/selftests/tc-testing/
H A DREADME1 tdc - Linux Traffic Control (tc) unit testing suite
75 One run of tests is considered a "test suite" (this will be refined in the
76 future). A test suite has one or more test cases in it.
153 pre- and post-suite
158 The pre-suite hook receives the number of tests and an array of test ids.
170 - pre (pre-suite)
175 - post (post-suite)
207 first version of the tc testing suite. This work was presented at
H A DTODO.txt9 need to better handle problems in pre- and post-suite.
28 and a way to configure a test suite,
/linux/Documentation/arch/arm/vfp/
H A Drelease-notes.rst14 John R. Hauser using the TestFloat-2a test suite. Details of this
15 library and test suite can be found at:
/linux/lib/
H A DKconfig.kmsan43 tristate "KMSAN integration test suite" if !KUNIT_ALL_TESTS
47 Test suite for KMSAN, testing various error detection scenarios,
H A DKconfig.kfence55 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/tools/perf/tests/
H A Dbuiltin-test.c188 #define test_suite__for_each_test_case(suite, idx) \ in close_parent_fds()
189 for (idx = 0; (suite)->test_cases && (suite)->test_cases[idx].name != NULL; idx++) in close_parent_fds()
442 * - The suite index prefix: e.g. " 10.100:" (8 characters) plus 1 space separator. in finish_test()
770 * For test suites with subtests, display the suite name ahead of the in build_suites()
1348 * Test suite shouldn't be run based on
1684 #define for_each_suite(suite) \
1686 while ((suite = suites[i][j++]) != NULL)
166 test_suite__for_each_test_case(suite,idx) global() argument
753 for_each_suite(suite) build_suites() argument
/linux/Documentation/bpf/
H A Ds390.rst15 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::
/linux/Documentation/dev-tools/kunit/
H A Drun_manual.rst79 to the kernel log and thus, may have different test suite numbering.
85 boot. To run the test suite, you can use the following command to write to
92 As a result, the test suite runs and the results are printed to the kernel
H A Dstart.rst128 separator between the name of the test suite and the test case,
129 otherwise, it will be interpreted as the name of the test suite.
132 a. inform the name of a test suite, like ``"kunit_executor_test"``,
137 b. inform the name of a test case prefixed by its test suite,
144 any test suite::
/linux/include/kunit/
H A Dattributes.h47 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite,
/linux/Documentation/admin-guide/
H A Dclearing-warn-once.rst9 This can be useful after test suite runs to reproduce problems.

1234