Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/ !
H A 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()
162 ASSERT_OK(strcmp("subtest", set.tests[1].subtests[0]), "test 1 subtest 0"); in test_parse_test_list_file()
163 ASSERT_OK(strcmp("subtest2", set.tests[1].subtests[1]), "test 1 subtest 1"); in test_parse_test_list_file()
H A 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/tools/testing/kunit/ !
H A Dkunit_tool_test.py176 self.assertEqual(kunit_parser.TestStatus.FAILURE, result.subtests[0].status)
177 self.assertEqual(kunit_parser.TestStatus.SUCCESS, result.subtests[0].subtests[0].status)
178 self.assertEqual(kunit_parser.TestStatus.FAILURE, result.subtests[1].status)
179 self.assertEqual(kunit_parser.TestStatus.FAILURE, result.subtests[1].subtests[0].status)
186 self.assertEqual(0, len(result.subtests))
206 self.assertEqual(0, len(result.subtests))
215 self.assertEqual(0, len(result.subtests[0].subtests[0].subtests))
218 result.subtests[0].subtests[0].status)
230 self.assertEqual(0, len(result.subtests))
259 result.subtests[0].name)
[all …]
H A Dkunit_parser.py44 self.subtests = [] # type: List[Test]
593 for subtest in test.subtests:
596 elif test.subtests != []:
599 for subtest in test.subtests:
616 if not test.subtests: # this is a leaf node
621 failed_subtests = [sub for sub in test.subtests if not sub.ok_status()]
622 if parent_name and len(failed_subtests) == len(test.subtests):
682 subtests = test.subtests
685 for t in subtests:
783 subtests = []
[all …]
H A Dkunit_json.py34 for subtest in test.subtests:
35 if subtest.subtests:
/linux/arch/powerpc/lib/ !
H A 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/Documentation/dev-tools/ !
H A Dktap.rst17 can have subtests), each of which can contain both diagnostic data -- e.g., log
47 Note that, in KTAP, subtests also begin with a version line, which denotes the
58 A test plan provides the number of tests (or subtests) in the KTAP output.
60 Plan lines must follow the format of "1..N" where N is the number of tests or subtests.
191 The "parent" test's result should consist of all of its subtests' results,
193 result. If one of the subtests fail, for example, the parent test should also
203 An example of a test with two nested subtests:
280 A single test called "main_test", which fails, and has three subtests:
286 - "example_test_2", which passes, and has two subtests:
291 - "example_test_3", which fails, and has three subtests
[all …]
/linux/tools/testing/selftests/bpf/ !
H A Dtesting_helpers.c101 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 Dtest_progs.h55 char **subtests; member
H A Dtest_progs.c302 filter->tests[i].subtests[j])) in match_subtest()
980 free((void *)set->tests[i].subtests[j]); in free_test_filter_set()
982 free((void *)set->tests[i].subtests); in free_test_filter_set()
H A DREADME.rst288 The subtests ``btf_type_tag_user_{mod1, mod2, vmlinux}`` also requires
/linux/tools/perf/tests/ !
H A 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/drivers/dma-buf/ !
H A Dselftest.h25 #define subtests(T, data) \ macro
H A Dst-dma-resv.c311 r = subtests(tests, (void *)(unsigned long)usage); in dma_resv()
H A Dst-dma-fence-unwrap.c641 return subtests(tests, NULL); in dma_fence_unwrap()
H A Dst-dma-fence-chain.c700 ret = subtests(tests, NULL); in dma_fence_chain()
/linux/drivers/gpu/drm/ci/ !
H A Dbuild-igt.sh16 output=$(/igt/libexec/igt-gpu-tools/"$test" --list-subtests || true)
/linux/Documentation/gpu/amdgpu/display/ !
H A Ddisplay-manager.rst128 provides a set of subtests to verify plane alpha and blend mode properties.
/linux/Documentation/gpu/ !
H A Dvkms.rst176 You can also run subtests if you do not want to run the entire test::
/linux/Documentation/dev-tools/kunit/ !
H A Dstyle.rst126 results will show up as subtests of the suite's results.
/linux/tools/testing/selftests/net/mptcp/ !
H A Dmptcp_join.sh4474 for subtests in "${all_tests_sorted[@]}"; do
4522 for subtests in "${tests[@]}"; do
4523 "${subtests}"