Home
last modified time | relevance | path

Searched refs:subtests (Results 1 – 17 of 17) 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_parser.py26 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]
52 f'{self.subtests}, {self.log}, {self.counts}, {self.skip_reason})')
98 object, where a test case is a test with no subtests.
332 Parses test plan line and stores the expected number of subtests i
[all...]
H A Dkunit_tool_test.py177 self.assertEqual(kunit_parser.TestStatus.FAILURE, result.subtests[0].status)
178 self.assertEqual(kunit_parser.TestStatus.SUCCESS, result.subtests[0].subtests[0].status)
179 self.assertEqual(kunit_parser.TestStatus.FAILURE, result.subtests[1].status)
180 self.assertEqual(kunit_parser.TestStatus.FAILURE, result.subtests[1].subtests[0].status)
187 self.assertEqual(0, len(result.subtests))
207 self.assertEqual(0, len(result.subtests))
216 self.assertEqual(0, len(result.subtests[0].subtests[
[all...]
H A Dkunit_json.py34 for subtest in test.subtests:
35 if subtest.subtests:
/linux/tools/testing/selftests/bpf/
H A Dtesting_helpers.c103 test->subtests = NULL; in do_insert_test()
113 if (strcmp(subtest_str, test->subtests[i]) == 0) { in do_insert_test()
119 ctmp = realloc(test->subtests, in do_insert_test()
120 sizeof(*test->subtests) * (test->subtest_cnt + 1)); in do_insert_test()
124 test->subtests = ctmp; in do_insert_test()
125 test->subtests[test->subtest_cnt] = subtest_str; in do_insert_test()
H A Dtest_progs.h55 char **subtests;
140 timer_t watchdog; /* watch for stalled tests/subtests */
54 char **subtests; global() member
H A Dtest_progs.c304 filter->tests[i].subtests[j])) in match_subtest()
461 jsonw_name(w, "subtests"); in dump_test_log()
1011 free((void *)set->tests[i].subtests[j]); in free_test_filter_set()
1013 free((void *)set->tests[i].subtests); in free_test_filter_set()
1611 /* collect all subtests and subtest logs */ in dispatch_thread()
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.h
H A Dst-dma-resv.c
H A Dst-dma-fence-unwrap.c
H A Dst-dma-fence-chain.c
/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/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.sh4533 for subtests in "${all_tests_sorted[@]}"; do
4534 key="${subtests%@*}"
4535 value="${subtests#*@}"
4581 for subtests in "${tests[@]}"; do
4582 "${subtests}"