Home
last modified time | relevance | path

Searched refs:subtests (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Darg_parsing.c18 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()
Drdonly_maps.c20 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.6.21/tools/testing/kunit/
Dkunit_parser.py44 self.subtests = [] # type: List[Test]
582 if not test.subtests: # this is a leaf node
587 failed_subtests = [sub for sub in test.subtests if not sub.ok_status()]
588 if parent_name and len(failed_subtests) == len(test.subtests):
647 subtests = test.subtests
650 for t in subtests:
745 subtests = []
771 subtests.append(sub_test)
773 test.subtests = subtests
783 if parent_test and len(subtests) == 0:
Dkunit_tool_test.py172 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[1].name)
255 self.assertEqual('kunit-resource-test', result.subtests[0].name)
263 self.assertEqual('kunit-resource-test', result.subtests[0].name)
271 self.assertEqual('kunit-resource-test', result.subtests[0].name)
[all …]
Dkunit_json.py34 for subtest in test.subtests:
35 if subtest.subtests:
/linux-6.6.21/tools/testing/selftests/bpf/
Dtesting_helpers.c100 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()
Dtest_progs.c196 sel->blacklist.tests[i].subtests[j])) in should_run_subtest()
209 sel->whitelist.tests[i].subtests[j])) in should_run_subtest()
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()
Dtest_progs.h54 char **subtests; member
DREADME.rst258 The subtests ``btf_type_tag_user_{mod1, mod2, vmlinux}`` also requires
/linux-6.6.21/arch/powerpc/lib/
Dtest_emulate_step.c908 } subtests[MAX_SUBTESTS + 1]; member
919 .subtests = {
932 .subtests = {
958 .subtests = {
1043 .subtests = {
1130 .subtests = {
1223 .subtests = {
1318 .subtests = {
1348 .subtests = {
1378 .subtests = {
[all …]
/linux-6.6.21/Documentation/dev-tools/
Dktap.rst17 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.
58 Plan lines must follow the format of "1..N" where N is the number of tests or subtests.
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
[all …]
/linux-6.6.21/tools/perf/tests/
Dsdt.c79 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.6.21/drivers/dma-buf/
Dselftest.h25 #define subtests(T, data) \ macro
Dst-dma-resv.c311 r = subtests(tests, (void *)(unsigned long)usage); in dma_resv()
Dst-dma-fence-unwrap.c381 return subtests(tests, NULL); in dma_fence_unwrap()
Dst-dma-fence.c588 ret = subtests(tests, NULL); in dma_fence()
Dst-dma-fence-chain.c706 ret = subtests(tests, NULL); in dma_fence_chain()
/linux-6.6.21/drivers/gpu/drm/ci/xfails/
Dmsm-sc7180-skips.txt5 # LUT support. None of the subtests handle the case of only having
/linux-6.6.21/Documentation/gpu/
Dvkms.rst87 You can also run subtests if you do not want to run the entire test::
/linux-6.6.21/Documentation/gpu/amdgpu/display/
Ddisplay-manager.rst128 provides a set of subtests to verify plane alpha and blend mode properties.
/linux-6.6.21/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh3579 key="${subtests%@*}"
3580 value="${subtests#*@}"
3625 for subtests in "${tests[@]}"; do
3626 "${subtests}"
/linux-6.6.21/Documentation/dev-tools/kunit/
Dstyle.rst126 results will show up as subtests of the suite's results.