Home
last modified time | relevance | path

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

12345

/linux/lib/kunit/
H A Ddebugfs.c70 if (!suite) in debugfs_print_results()
101 struct kunit_suite *suite; in debugfs_results_open() local
118 suite->name); in debugfs_print_run()
129 struct kunit_suite *suite; in debugfs_run_open() local
174 if (suite->log) in kunit_debugfs_create_suite()
188 suite->log = stream; in kunit_debugfs_create_suite()
199 suite->debugfs = debugfs_create_dir(suite->name, debugfs_rootdir); in kunit_debugfs_create_suite()
202 suite->debugfs, in kunit_debugfs_create_suite()
206 if (!suite->is_init) { in kunit_debugfs_create_suite()
208 suite->debugfs, in kunit_debugfs_create_suite()
[all …]
H A Dtest.c162 suite->name); in kunit_print_suite_start()
385 if (suite->init) { in kunit_run_case_internal()
417 if (suite->exit) in kunit_run_case_cleanup()
418 suite->exit(test); in kunit_run_case_cleanup()
433 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case() local
450 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case_cleanup() local
532 context.suite = suite; in kunit_run_case_catch_errors()
557 suite->name, in kunit_print_suite_stats()
612 suite->suite_init_err = suite->suite_init(suite); in kunit_run_tests()
686 suite->suite_exit(suite); in kunit_run_tests()
[all …]
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()
246 return ((void *) suite->is_init); in attr_is_init_get()
307 kunit_log(KERN_INFO, suite, "%*s# %s: %s", in kunit_print_attr()
407 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); in kunit_filter_attr_tests()
411 kunit_suite_for_each_test_case(suite, test_case) { n++; } in kunit_filter_attr_tests()
427 suite_val = filter.attr->get_attr((void *)suite, false); in kunit_filter_attr_tests()
[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 strncpy((char *)suite->name, suite_name, sizeof(suite->name) - 1); in alloc_fake_suite()
290 suite->test_cases = test_cases; in alloc_fake_suite()
292 return suite; in alloc_fake_suite()
H A Dkunit-example-test.c58 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()
H A Dexecutor.c104 kunit_filter_glob_tests(const struct kunit_suite *const suite, const char *test_glob) in kunit_filter_glob_tests() argument
110 kunit_suite_for_each_test_case(suite, test_case) { in kunit_filter_glob_tests()
118 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); in kunit_filter_glob_tests()
129 kunit_suite_for_each_test_case(suite, test_case) { in kunit_filter_glob_tests()
H A Dkunit-test.c591 struct kunit_suite suite; in kunit_log_test() local
595 suite.log = kunit_alloc_string_stream(test, GFP_KERNEL); in kunit_log_test()
596 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, suite.log); in kunit_log_test()
597 string_stream_set_append_newlines(suite.log, true); in kunit_log_test()
601 kunit_log(KERN_INFO, &suite, "add to suite log."); in kunit_log_test()
602 kunit_log(KERN_INFO, &suite, "along with this."); in kunit_log_test()
614 full_log = string_stream_get_string(suite.log); in kunit_log_test()
/linux/crypto/
H A Dtestmgr.c155 } suite; member
4308 .suite = {
4315 .suite = {
4321 .suite = {
4327 .suite = {
4333 .suite = {
4340 .suite = {
4346 .suite = {
4352 .suite = {
4362 .suite = {
[all …]
/linux/Documentation/dev-tools/kunit/
H A Dstyle.rst24 suite is a group of tests which test a related area of the kernel. A subsystem
92 or similar in the suite name.
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
126 results will show up as subtests of the suite's results.
150 test name, separated by a colon (i.e. ``suite:test``).
155 Every test suite should be tied to a Kconfig entry.
160 suite.
196 ``<suite>_test.c`` (or, as above, ``<suite>_kunit.c``). This file should be
[all …]
/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-tpmi10 Users: Debugging, any user space test suite
18 Users: Debugging, any user space test suite
31 Users: Debugging, any user space test suite
H A Ddebugfs-scmi-raw14 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/Documentation/devicetree/bindings/mtd/partitions/
H A Darm,arm-firmware-suite.yaml4 $id: http://devicetree.org/schemas/mtd/partitions/arm,arm-firmware-suite.yaml#
21 const: arm,arm-firmware-suite
28 compatible = "arm,arm-firmware-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
/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml250 The standard Zkn NIST algorithm suite extensions as ratified in
256 The standard Zknd for NIST suite: AES decryption instructions as
262 The standard Zkne for NIST suite: AES encryption instructions as
268 The standard Zknh for NIST suite: hash function instructions as
282 The standard Zks ShangMi algorithm suite extensions as ratified in
428 The standard Zvkng extension for NIST algorithm suite with GCM
446 The standard Zvks extension for ShangMi algorithm suite
452 The standard Zvksc extension for ShangMi algorithm suite with
458 The standard Zvksed extension for ShangMi suite: SM4 block cipher
464 The standard Zvksh extension for ShangMi suite: SM3 secure hash
[all …]
/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/include/kunit/
H A Dtest.h244 int (*suite_init)(struct kunit_suite *suite);
245 void (*suite_exit)(struct kunit_suite *suite);
321 int kunit_run_tests(struct kunit_suite *suite);
323 size_t kunit_suite_num_test_cases(struct kunit_suite *suite);
325 unsigned int kunit_test_case_num(struct kunit_suite *suite,
378 #define kunit_test_suite(suite) kunit_test_suites(&suite) argument
409 #define kunit_test_init_section_suite(suite) \ argument
410 kunit_test_init_section_suites(&suite)
412 #define kunit_suite_for_each_test_case(suite, test_case) \ argument
413 for (test_case = suite->test_cases; test_case->run_case; test_case++)
[all …]
/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/mm/damon/
H A DKconfig20 This builds the DAMON Kunit test suite.
48 This builds the DAMON virtual addresses operations Kunit test suite.
67 This builds the DAMON sysfs interface Kunit test suite.
97 This builds the DAMON debugfs interface Kunit 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:

12345