Home
last modified time | relevance | path

Searched full:suite (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/linux/lib/kunit/
H A Dtest.c138 size_t kunit_suite_num_test_cases(struct kunit_suite *suite) in kunit_suite_num_test_cases() argument
143 kunit_suite_for_each_test_case(suite, test_case) in kunit_suite_num_test_cases()
157 static void kunit_print_suite_start(struct kunit_suite *suite) in kunit_print_suite_start() argument
160 * We do not log the test suite header as doing so would in kunit_print_suite_start()
161 * mean debugfs display would consist of the test suite in kunit_print_suite_start()
163 * Hence directly printk the suite status, and we will in kunit_print_suite_start()
164 * separately seq_printf() the suite header for the debugfs in kunit_print_suite_start()
169 suite->name); in kunit_print_suite_start()
170 kunit_print_attr((void *)suite, false, KUNIT_LEVEL_CASE); in kunit_print_suite_start()
172 kunit_suite_num_test_cases(suite)); in kunit_print_suite_start()
212 kunit_suite_has_succeeded(struct kunit_suite * suite) kunit_suite_has_succeeded() argument
233 kunit_print_suite_end(struct kunit_suite * suite) kunit_print_suite_end() argument
242 kunit_test_case_num(struct kunit_suite * suite,struct kunit_case * test_case) kunit_test_case_num() argument
409 kunit_test_timeout(struct kunit_suite * suite,struct kunit_case * test_case) kunit_test_timeout() argument
430 kunit_run_case_internal(struct kunit * test,struct kunit_suite * suite,struct kunit_case * test_case) kunit_run_case_internal() argument
465 kunit_run_case_cleanup(struct kunit * test,struct kunit_suite * suite) kunit_run_case_cleanup() argument
475 struct kunit_suite *suite; global() member
483 struct kunit_suite *suite = ctx->suite; kunit_try_run_case() local
500 struct kunit_suite *suite = ctx->suite; kunit_try_run_case_cleanup() local
568 kunit_run_case_catch_errors(struct kunit_suite * suite,struct kunit_case * test_case,struct kunit * test) kunit_run_case_catch_errors() argument
602 kunit_print_suite_stats(struct kunit_suite * suite,struct kunit_result_stats * suite_stats,struct kunit_result_stats * param_stats) kunit_print_suite_stats() argument
685 kunit_run_param_test(struct kunit_suite * suite,struct kunit_case * test_case,struct kunit * test,struct kunit_result_stats * suite_stats,struct kunit_result_stats * total_stats,struct kunit_result_stats * param_stats) kunit_run_param_test() argument
754 kunit_run_one_test(struct kunit_suite * suite,struct kunit_case * test_case,struct kunit_result_stats * suite_stats,struct kunit_result_stats * total_stats) kunit_run_one_test() argument
789 kunit_run_tests(struct kunit_suite * suite) kunit_run_tests() argument
823 kunit_init_suite(struct kunit_suite * suite) kunit_init_suite() argument
872 kunit_exit_suite(struct kunit_suite * suite) kunit_exit_suite() argument
[all...]
H A Dkunit-example-test.c55 * This is run once before all test cases in the suite.
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()
66 * This is run once after all test cases in the 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()
263 /* unless setup in suite->init(), test->priv is NULL */ in example_priv_test()
493 * Here we make a list of all the test cases we want to add to the test suite
[all...]
H A Dattributes.c13 * PRINT_ALWAYS - attribute is printed for every test case and suite if set
14 * PRINT_SUITE - attribute is printed for every suite if set but not for test cases
215 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
[all …]
H A Dexecutor_test.c30 kunit_parse_glob_filter(&filter, "suite"); in parse_filter_test()
31 KUNIT_EXPECT_STREQ(test, filter.suite_glob, "suite"); in parse_filter_test()
36 kunit_parse_glob_filter(&filter, "suite.test"); in parse_filter_test()
37 KUNIT_EXPECT_STREQ(test, filter.suite_glob, "suite"); in parse_filter_test()
162 subsuite[1]->attr.speed = KUNIT_SPEED_SLOW; // Set suite attribute in filter_attr_test()
219 subsuite[0] = alloc_fake_suite(test, "suite", dummy_attr_test_cases); in filter_attr_skip_test()
221 /* Want: suite(slow, normal), NULL -> suite(slow with SKIP, normal), NULL */ in filter_attr_skip_test()
285 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()
[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.c124 /* Create a copy of suite with only tests that match test_glob. */
126 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()
235 /* Free previous copy of suite */ in kunit_filter_suites()
310 /* Print suite name and suite attributes */ in kunit_exec_list_tests()
315 /* Print test case name and attributes in suite */ in kunit_exec_list_tests()
348 /* Set kunit suite set start and end */ in kunit_merge_suite_sets()
403 /* Free original suite set before using filtered suite set */ in kunit_run_all_tests()
/linux/tools/perf/Documentation/
H A Dperf-bench.txt11 'perf bench' [<common options>] <subsystem> <suite> [<options>]
79 Suite for evaluating performance of scheduler and IPC mechanisms.
118 Suite for pipe() system call.
168 Suite for evaluating performance of core system call throughput (both usecs/op and ops/sec metrics).
176 Suite for evaluating performance of simple memory copy in various ways.
210 Suite for evaluating performance of simple memory set in various ways.
244 Suite for evaluating memory subsystem performance for mmap()'d memory.
284 Suite for evaluating NUMA workloads.
289 Suite for evaluating hash tables.
292 Suite fo
[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-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/Documentation/devicetree/bindings/mtd/partitions/
H A Darm,arm-firmware-suite.yaml4 $id: http://devicetree.org/schemas/mtd/partitions/arm,arm-firmware-suite.yaml#
7 title: ARM Firmware Suite (AFS) Partitions
13 The ARM Firmware Suite is a flash partitioning system found on the
19 const: arm,arm-firmware-suite
26 compatible = "arm,arm-firmware-suite";
/linux/tools/testing/kunit/
H A Dkunit_tool_test.py243 # A skipped test does not fail the whole suite.
256 # The first suite is skipped, with no reason
273 # A skipped test does not fail the whole suite.
356 self.assertEqual('suite', result.subtests[0].name)
364 self.print_mock.assert_any_call(StrContains('suite (1 subtest)'))
375 # Ensure suite header is parsed correctly
376 self.print_mock.assert_any_call(StrContains('suite (1 subtest)'))
540 filter_glob='suite.test1'):
543 filter_glob='suite.test2'):
547 self.assertIn('kunit.filter_glob=suite
[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.txt1 tc Testing Suite To-Do list:
9 need to better handle problems in pre- and post-suite.
28 and a way to configure a test suite,
/linux/include/kunit/
H A Dattributes.h27 * Print all test attributes for a test case or suite.
45 * Returns a copy of the suite containing only tests that pass the filter.
47 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite,
/linux/tools/perf/tests/shell/common/
H A Dinit.sh81 # a runmode that fits the testcase --> if the suite runs in BASIC mode
82 # all STANDARD and EXPERIMENTAL testcases will be skipped; if the suite
84 # if the suite runs in EXPERIMENTAL mode, nothing is skipped
88 # the runmode of a testcase needs to be at least the current suite's runmode
/linux/lib/crypto/tests/
H A Dpoly1305_kunit.c10 * order to reuse hash-test-template.h. At the beginning of the test suite,
46 static int poly1305_suite_init(struct kunit_suite *suite) in poly1305_suite_init() argument
52 poly1305_suite_exit(struct kunit_suite * suite) poly1305_suite_exit() argument
/linux/include/linux/
H A Dieee80211.h2223 #define SUITE(oui, id) (((oui) << 8) | (id)) macro
2225 /* cipher suite selectors */
2226 #define WLAN_CIPHER_SUITE_USE_GROUP SUITE(0x000FAC, 0)
2227 #define WLAN_CIPHER_SUITE_WEP40 SUITE(0x000FAC, 1)
2228 #define WLAN_CIPHER_SUITE_TKIP SUITE(0x000FAC, 2)
2229 /* reserved: SUITE(0x000FAC, 3) */
2230 #define WLAN_CIPHER_SUITE_CCMP SUITE(0x000FAC, 4)
2231 #define WLAN_CIPHER_SUITE_WEP104 SUITE(0x000FAC, 5)
2232 #define WLAN_CIPHER_SUITE_AES_CMAC SUITE(0x000FAC, 6)
2233 #define WLAN_CIPHER_SUITE_GCMP SUITE(0x000FAC, 8)
[all …]
/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml663 The standard Zkn NIST algorithm suite extensions as ratified in
669 The standard Zknd for NIST suite: AES decryption instructions as
675 The standard Zkne for NIST suite: AES encryption instructions as
681 The standard Zknh for NIST suite: hash function instructions as
695 The standard Zks ShangMi algorithm suite extensions as ratified in
701 The standard Zksed for ShangMi suite: SM4 block cipher instructions
707 The standard Zksh for ShangMi suite: SM3 hash function instructions
803 The standard Zvkn extension for NIST algorithm suite instructions, as
809 The standard Zvknc extension for NIST algorithm suite with carryless
821 The standard Zvkng extension for NIST algorithm suite with GCM
[all …]
/linux/tools/testing/kunit/test_data/
H A Dtest_parse_subtest_header.log4 # Subtest: suite
7 ok 1 suite
H A Dtest_is_test_passed-no_tests_no_plan.log3 # Subtest: suite
7 ok 1 - suite
H A Dtest_parse_attributes.log4 # Subtest: suite
9 ok 1 suite
/linux/lib/
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/Documentation/dev-tools/kunit/
H A Darchitecture.rst47 A KUnit suite includes a collection of test cases. The KUnit suites
67 In the above example, the test suite ``example_test_suite``, runs the
71 The ``kunit_test_suite(example_test_suite)`` registers the test suite
88 :alt: KUnit Suite Memory
90 KUnit Suite Memory Diagram

12345678910>>...14