| /linux-6.15/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()
|
| /linux-6.15/tools/testing/kunit/ |
| H A D | kunit_parser.py | 44 self.subtests = [] # type: List[Test] 591 for subtest in test.subtests: 594 elif test.subtests != []: 597 for subtest in test.subtests: 614 if not test.subtests: # this is a leaf node 680 subtests = test.subtests 683 for t in subtests: 778 subtests = [] 804 subtests.append(sub_test) 806 test.subtests = subtests [all …]
|
| H A D | kunit_tool_test.py | 173 self.assertEqual(0, len(result.subtests)) 193 self.assertEqual(0, len(result.subtests)) 202 self.assertEqual(0, len(result.subtests[0].subtests[0].subtests)) 205 result.subtests[0].subtests[0].status) 217 self.assertEqual(0, len(result.subtests)) 246 result.subtests[0].name) 249 result.subtests[1].name) 325 self.assertEqual('suite', result.subtests[0].name) 326 self.assertEqual('case_1', result.subtests[0].subtests[0].name) 327 self.assertEqual('case_2', result.subtests[0].subtests[1].name) [all …]
|
| H A D | kunit_json.py | 34 for subtest in test.subtests: 35 if subtest.subtests:
|
| /linux-6.15/arch/powerpc/lib/ |
| H A D | test_emulate_step.c | 919 .subtests = { 932 .subtests = { 958 .subtests = { 1043 .subtests = { 1130 .subtests = { 1223 .subtests = { 1318 .subtests = { 1348 .subtests = { 1378 .subtests = { 1426 .subtests = { [all …]
|
| /linux-6.15/Documentation/dev-tools/ |
| H A D | ktap.rst | 17 can have subtests), each of which can contain both diagnostic data -- e.g., log 45 Note that, in KTAP, subtests also begin with a version line, which denotes the 56 A test plan provides the number of tests (or subtests) in the KTAP output. 189 The "parent" test's result should consist of all of its subtests' results, 191 result. If one of the subtests fail, for example, the parent test should also 201 An example of a test with two nested subtests: 278 A single test called "main_test", which fails, and has three subtests: 283 - "example_test_2", which passes, and has two subtests: 288 - "example_test_3", which fails, and has three subtests 294 Note that the individual subtests with the same names do not conflict, as they [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | testing_helpers.c | 101 test->subtests = NULL; in do_insert_test() 111 if (strcmp(subtest_str, test->subtests[i]) == 0) { in do_insert_test() 117 ctmp = realloc(test->subtests, in do_insert_test() 118 sizeof(*test->subtests) * (test->subtest_cnt + 1)); in do_insert_test() 122 test->subtests = ctmp; in do_insert_test() 123 test->subtests[test->subtest_cnt] = subtest_str; in do_insert_test()
|
| H A D | test_progs.h | 54 char **subtests; member
|
| H A D | test_progs.c | 300 filter->tests[i].subtests[j])) in match_subtest() 978 free((void *)set->tests[i].subtests[j]); in free_test_filter_set() 980 free((void *)set->tests[i].subtests); in free_test_filter_set()
|
| H A D | README.rst | 288 The subtests ``btf_type_tag_user_{mod1, mod2, vmlinux}`` also requires
|
| /linux-6.15/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()
|
| /linux-6.15/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.c | 592 ret = subtests(tests, NULL); in dma_fence()
|
| H A D | st-dma-fence-unwrap.c | 641 return subtests(tests, NULL); in dma_fence_unwrap()
|
| H A D | st-dma-fence-chain.c | 702 ret = subtests(tests, NULL); in dma_fence_chain()
|
| /linux-6.15/drivers/gpu/drm/ci/ |
| H A D | build-igt.sh | 16 output=$(/igt/libexec/igt-gpu-tools/"$test" --list-subtests || true)
|
| /linux-6.15/Documentation/gpu/amdgpu/display/ |
| H A D | display-manager.rst | 128 provides a set of subtests to verify plane alpha and blend mode properties.
|
| /linux-6.15/Documentation/gpu/ |
| H A D | vkms.rst | 87 You can also run subtests if you do not want to run the entire test::
|
| /linux-6.15/Documentation/dev-tools/kunit/ |
| H A D | style.rst | 126 results will show up as subtests of the suite's results.
|
| /linux-6.15/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_join.sh | 3985 for subtests in "${all_tests_sorted[@]}"; do 4033 for subtests in "${tests[@]}"; do 4034 "${subtests}"
|