Home
last modified time | relevance | path

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

12

/openbmc/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()
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 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()
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-pytest-subtests_0.12.1.bb1 SUMMARY = "unittest subTest() support and subtests fixture."
3 New subtests fixture, providing similar functionality for pure pytest tests."
4 HOMEPAGE = "https://github.com/pytest-dev/pytest-subtests"
5 BUGTRACKER = "https://github.com/pytest-dev/pytest-subtests/issues"
H A Dpython3-cryptography_42.0.5.bb45 python3-pytest-subtests \
/openbmc/linux/tools/testing/kunit/
H A 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:
H A 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)
324 self.assertEqual('suite', result.subtests[0].name)
325 self.assertEqual('case_1', result.subtests[0].subtests[0].name)
[all …]
H A Dkunit_json.py34 for subtest in test.subtests:
35 if subtest.subtests:
/openbmc/linux/tools/testing/selftests/bpf/
H A 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()
H A Dtest_progs.c210 sel->blacklist.tests[i].subtests[j])) in should_run_subtest()
223 sel->whitelist.tests[i].subtests[j])) in should_run_subtest()
737 free((void *)set->tests[i].subtests[j]); in free_test_filter_set()
739 free((void *)set->tests[i].subtests); in free_test_filter_set()
H A Dtest_progs.h54 char **subtests; member
H A DREADME.rst258 The subtests ``btf_type_tag_user_{mod1, mod2, vmlinux}`` also requires
/openbmc/linux/arch/powerpc/lib/
H A Dtest_emulate_step.c919 .subtests = {
932 .subtests = {
958 .subtests = {
1043 .subtests = {
1130 .subtests = {
1223 .subtests = {
1318 .subtests = {
1348 .subtests = {
1378 .subtests = {
1426 .subtests = {
[all …]
/openbmc/linux/Documentation/dev-tools/
H A 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.
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 …]
/openbmc/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()
/openbmc/u-boot/test/py/tests/
H A Dtest_hush_if_test.py13 subtests = ( variable
120 @pytest.mark.parametrize('expr,result', subtests)
/openbmc/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.c381 return subtests(tests, NULL); in dma_fence_unwrap()
H A Dst-dma-fence.c592 ret = subtests(tests, NULL); in dma_fence()
H A Dst-dma-fence-chain.c702 ret = subtests(tests, NULL); in dma_fence_chain()
/openbmc/linux/drivers/gpu/drm/ci/xfails/
H A Dmsm-sc7180-skips.txt5 # LUT support. None of the subtests handle the case of only having
/openbmc/linux/Documentation/gpu/amdgpu/display/
H A Ddisplay-manager.rst128 provides a set of subtests to verify plane alpha and blend mode properties.
/openbmc/linux/Documentation/gpu/
H A Dvkms.rst87 You can also run subtests if you do not want to run the entire test::
/openbmc/linux/Documentation/dev-tools/kunit/
H A Dstyle.rst126 results will show up as subtests of the suite's results.
/openbmc/qemu/docs/devel/
H A Dacpi-bits.rst127 It might be occasionally necessary to disable some subtests or add a new

12