/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | arg_parsing.c | 18 free((void *)set->tests[i].subtests[j]); in free_test_filter_set() 19 free(set->tests[i].subtests); in free_test_filter_set() 66 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 84 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 98 ASSERT_OK(strcmp("*trace*", set.tests[0].subtests[0]), "subtest name"); in test_parse_test_list() 110 ASSERT_OK(strcmp("subtest1", set.tests[0].subtests[0]), "subtest name"); in test_parse_test_list() 111 ASSERT_OK(strcmp("subtest2", set.tests[0].subtests[1]), "subtest name"); in test_parse_test_list() 156 ASSERT_OK(strcmp("subtest", set.tests[1].subtests[0]), "test 1 subtest 0"); in test_parse_test_list_file() 157 ASSERT_OK(strcmp("subtest2", set.tests[1].subtests[1]), "test 1 subtest 1"); in test_parse_test_list_file()
|
H A D | rdonly_maps.c | 20 struct rdonly_map_subtest subtests[] = { in test_rdonly_maps() local 44 for (i = 0; i < ARRAY_SIZE(subtests); i++) { in test_rdonly_maps() 45 const struct rdonly_map_subtest *t = &subtests[i]; in test_rdonly_maps()
|
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
H A D | test_emulate_step.c | 641 } subtests[MAX_SUBTESTS + 1]; member 652 .subtests = { 664 .subtests = { 749 .subtests = { 836 .subtests = { 929 .subtests = { 1024 .subtests = { 1054 .subtests = { 1084 .subtests = { 1132 .subtests [all...] |
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_parser.py | 26 subtests. 31 expected_count : int - expected number of subtests (0 if single 32 test case and None if unknown expected number of subtests) 33 subtests : List[Test] - list of subtests 36 subtests or of the test itself if the test is a single 44 self.subtests = [] # type: List[Test] 51 f'{self.subtests}, {self.log}, {self.counts})') 97 object, where a test case is a test with no subtests. 329 Parses test plan line and stores the expected number of subtests i [all...] |
H A D | kunit_tool_test.py | 172 self.assertEqual(0, len(result.subtests)) 192 self.assertEqual(0, len(result.subtests)) 201 self.assertEqual(0, len(result.subtests[0].subtests[0].subtests)) 204 result.subtests[0].subtests[0].status) 216 self.assertEqual(0, len(result.subtests)) 245 result.subtests[0].name) 248 result.subtests[ [all...] |
H A D | kunit_json.py | 34 for subtest in test.subtests: 35 if subtest.subtests:
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | rdonly_maps.c | 20 struct rdonly_map_subtest subtests[] = { in test_rdonly_maps() local 44 for (i = 0; i < ARRAY_SIZE(subtests); i++) { in test_rdonly_maps() 45 const struct rdonly_map_subtest *t = &subtests[i]; in test_rdonly_maps()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 100 test->subtests = NULL; in do_insert_test() 110 if (strcmp(subtest_str, test->subtests[i]) == 0) { in do_insert_test() 116 ctmp = realloc(test->subtests, in do_insert_test() 117 sizeof(*test->subtests) * (test->subtest_cnt + 1)); in do_insert_test() 121 test->subtests = ctmp; in do_insert_test() 122 test->subtests[test->subtest_cnt] = subtest_str; in do_insert_test()
|
H A D | test_progs.c | 196 sel->blacklist.tests[i].subtests[j])) in should_run_subtest() 209 sel->whitelist.tests[i].subtests[j])) in should_run_subtest() 318 jsonw_name(w, "subtests"); in dump_test_log() 723 free((void *)set->tests[i].subtests[j]); in free_test_filter_set() 725 free((void *)set->tests[i].subtests); in free_test_filter_set() 1253 /* collect all subtests and subtest logs */ in dispatch_thread()
|
H A D | test_progs.h | 54 char **subtests; member
|
/kernel/linux/linux-6.6/arch/powerpc/lib/ |
H A D | test_emulate_step.c | 908 } subtests[MAX_SUBTESTS + 1]; member 919 .subtests = { 932 .subtests = { 958 .subtests = { 1043 .subtests = { 1130 .subtests = { 1223 .subtests = { 1318 .subtests = { 1348 .subtests = { 1378 .subtests [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | sdt.c | 79 int test__sdt_event(struct test *test __maybe_unused, int subtests __maybe_unused) in test__sdt_event() 117 int test__sdt_event(struct test *test __maybe_unused, int subtests __maybe_unused) in test__sdt_event()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | sdt.c | 79 static int test__sdt_event(struct test_suite *test __maybe_unused, int subtests __maybe_unused) in test__sdt_event() 117 static int test__sdt_event(struct test_suite *test __maybe_unused, int subtests __maybe_unused) in test__sdt_event()
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | selftest.h | 25 #define subtests(T, data) \ macro
|
H A D | st-dma-fence.c | 569 ret = subtests(tests, NULL); in dma_fence()
|
H A D | st-dma-fence-chain.c | 710 ret = subtests(tests, NULL); in dma_fence_chain()
|
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | selftest.h | 25 #define subtests(T, data) \ macro
|
H A D | st-dma-resv.c | 311 r = subtests(tests, (void *)(unsigned long)usage); in dma_resv()
|
H A D | st-dma-fence-unwrap.c | 381 return subtests(tests, NULL); in dma_fence_unwrap()
|
H A D | st-dma-fence.c | 588 ret = subtests(tests, NULL); in dma_fence()
|
H A D | st-dma-fence-chain.c | 706 ret = subtests(tests, NULL); in dma_fence_chain()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 3578 for subtests in "${all_tests_sorted[@]}"; do 3579 key="${subtests%@*}" 3580 value="${subtests#*@}" 3625 for subtests in "${tests[@]}"; do 3626 "${subtests}"
|