Searched refs:testcase (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/drivers/of/
H A Dunittest.c52 np = of_find_node_by_path("/testcase-data"); of_unittest_find_node_by_name()
53 unittest(np && !strcmp("/testcase-data", np->full_name), of_unittest_find_node_by_name()
54 "find /testcase-data failed\n"); of_unittest_find_node_by_name()
58 np = of_find_node_by_path("/testcase-data/"); of_unittest_find_node_by_name()
59 unittest(!np, "trailing '/' on /testcase-data/ should fail\n"); of_unittest_find_node_by_name()
61 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); of_unittest_find_node_by_name()
62 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name), of_unittest_find_node_by_name()
63 "find /testcase-data/phandle-tests/consumer-a failed\n"); of_unittest_find_node_by_name()
66 np = of_find_node_by_path("testcase-alias"); of_unittest_find_node_by_name()
67 unittest(np && !strcmp("/testcase-data", np->full_name), of_unittest_find_node_by_name()
68 "find testcase-alias failed\n"); of_unittest_find_node_by_name()
72 np = of_find_node_by_path("testcase-alias/"); of_unittest_find_node_by_name()
73 unittest(!np, "trailing '/' on testcase-alias/ should fail\n"); of_unittest_find_node_by_name()
75 np = of_find_node_by_path("testcase-alias/phandle-tests/consumer-a"); of_unittest_find_node_by_name()
76 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name), of_unittest_find_node_by_name()
77 "find testcase-alias/phandle-tests/consumer-a failed\n"); of_unittest_find_node_by_name()
80 np = of_find_node_by_path("/testcase-data/missing-path"); of_unittest_find_node_by_name()
88 np = of_find_node_by_path("testcase-alias/missing-path"); of_unittest_find_node_by_name()
92 np = of_find_node_opts_by_path("/testcase-data:testoption", &options); of_unittest_find_node_by_name()
97 np = of_find_node_opts_by_path("/testcase-data:test/option", &options); of_unittest_find_node_by_name()
102 np = of_find_node_opts_by_path("/testcase-data/testcase-device1:test/option", &options); of_unittest_find_node_by_name()
107 np = of_find_node_opts_by_path("/testcase-data:testoption", NULL); of_unittest_find_node_by_name()
111 np = of_find_node_opts_by_path("testcase-alias:testaliasoption", of_unittest_find_node_by_name()
117 np = of_find_node_opts_by_path("testcase-alias:test/alias/option", of_unittest_find_node_by_name()
123 np = of_find_node_opts_by_path("testcase-alias:testaliasoption", NULL); of_unittest_find_node_by_name()
128 np = of_find_node_opts_by_path("testcase-alias", &options); of_unittest_find_node_by_name()
143 np = of_find_node_by_path("/testcase-data"); of_unittest_dynamic()
145 pr_err("missing testcase data\n"); of_unittest_dynamic()
293 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); of_unittest_parse_phandle_with_args()
295 pr_err("missing testcase data\n"); of_unittest_parse_phandle_with_args()
396 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); of_unittest_property_string()
398 pr_err("No testcase data in device tree\n"); of_unittest_property_string()
505 n1 = __of_node_dup(NULL, "/testcase-data/changeset/n1"); of_unittest_changeset()
506 unittest(n1, "testcase setup failure\n"); of_unittest_changeset()
507 n2 = __of_node_dup(NULL, "/testcase-data/changeset/n2"); of_unittest_changeset()
508 unittest(n2, "testcase setup failure\n"); of_unittest_changeset()
509 n21 = __of_node_dup(NULL, "%s/%s", "/testcase-data/changeset/n2", "n21"); of_unittest_changeset()
510 unittest(n21, "testcase setup failure %p\n", n21); of_unittest_changeset()
511 nremove = of_find_node_by_path("/testcase-data/changeset/node-remove"); of_unittest_changeset()
512 unittest(nremove, "testcase setup failure\n"); of_unittest_changeset()
514 unittest(ppadd, "testcase setup failure\n"); of_unittest_changeset()
516 unittest(ppupdate, "testcase setup failure\n"); of_unittest_changeset()
538 unittest((np = of_find_node_by_path("/testcase-data/changeset/n2/n21")), of_unittest_changeset()
556 np = of_find_node_by_path("/testcase-data/interrupts/interrupts0"); of_unittest_parse_interrupts()
558 pr_err("missing testcase data\n"); of_unittest_parse_interrupts()
577 np = of_find_node_by_path("/testcase-data/interrupts/interrupts1"); of_unittest_parse_interrupts()
579 pr_err("missing testcase data\n"); of_unittest_parse_interrupts()
630 np = of_find_node_by_path("/testcase-data/interrupts/interrupts-extended0"); of_unittest_parse_interrupts_extended()
632 pr_err("missing testcase data\n"); of_unittest_parse_interrupts_extended()
715 { .path = "/testcase-data/match-node/name0", .data = "A", },
716 { .path = "/testcase-data/match-node/name1", .data = "B", },
717 { .path = "/testcase-data/match-node/a/name2", .data = "Ca", },
718 { .path = "/testcase-data/match-node/b/name2", .data = "Cb", },
719 { .path = "/testcase-data/match-node/c/name2", .data = "Cc", },
720 { .path = "/testcase-data/match-node/name3", .data = "E", },
721 { .path = "/testcase-data/match-node/name4", .data = "G", },
722 { .path = "/testcase-data/match-node/name5", .data = "H", },
723 { .path = "/testcase-data/match-node/name6", .data = "G", },
724 { .path = "/testcase-data/match-node/name7", .data = "I", },
725 { .path = "/testcase-data/match-node/name8", .data = "J", },
726 { .path = "/testcase-data/match-node/name9", .data = "K", },
738 unittest(0, "missing testcase node %s\n", of_unittest_match_node()
773 np = of_find_node_by_path("/testcase-data"); of_unittest_platform_populate()
777 np = of_find_node_by_path("/testcase-data/testcase-device1"); of_unittest_platform_populate()
785 np = of_find_node_by_path("/testcase-data/testcase-device2"); of_unittest_platform_populate()
791 np = of_find_node_by_path("/testcase-data/platform-tests"); of_unittest_platform_populate()
792 unittest(np, "No testcase data in device tree\n"); of_unittest_platform_populate()
901 pr_warn("%s: No testcase data to attach; not running tests\n", unittest_data_add()
1075 base = "/testcase-data/overlay-node/test-bus"; unittest_path()
1078 base = "/testcase-data/overlay-node/test-bus/i2c-test-bus"; unittest_path()
1109 "/testcase-data/overlay%d", nr); overlay_path()
1115 static const char *bus_path = "/testcase-data/overlay-node/test-bus";
1941 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); of_unittest()
1943 pr_info("No testcase data in device tree; not running tests\n"); of_unittest()
1963 /* Double check linkage after removing testcase data */ of_unittest()
/linux-4.4.14/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c41 static int testcase(void) testcase() function
102 return test_harness(testcase, "memcmp"); main()
/linux-4.4.14/tools/testing/selftests/ftrace/
H A Dftracetest12 echo "Usage: ftracetest [options] [testcase(s)] [testcase-directory(s)]"
70 usage 1 "$1 is not a testcase"
142 testcase() { # testfile function
234 testcase $1
/linux-4.4.14/tools/testing/selftests/powerpc/mm/
H A Dhugetlb_vs_thp_test.c50 * For the purposes of this testcase it's preferable to spin in test_body()
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/
H A Ddscr_inherit_exec_test.c4 * This testcase modifies the DSCR using mtspr, forks & execs and
H A Ddscr_inherit_test.c4 * This testcase modifies the DSCR using mtspr, forks and then
/linux-4.4.14/drivers/mmc/card/
H A Dmmc_test.c109 * @testcase: number of test case
116 int testcase; member in struct:mmc_test_general_result
140 * @gr: pointer to results of current testcase
2614 static void mmc_test_run(struct mmc_test_card *test, int testcase) mmc_test_run() argument
2626 if (testcase && ((i + 1) != testcase)) mmc_test_run()
2651 gr->testcase = i; mmc_test_run()
2748 seq_printf(sf, "Test %d: %d\n", gr->testcase + 1, gr->result); mtf_test_show()
2775 long testcase; local
2778 ret = kstrtol_from_user(buf, count, 10, &testcase);
2805 mmc_test_run(test, testcase);
/linux-4.4.14/drivers/net/wireless/cw1200/
H A Dcw1200.h282 /* Workaround for WFD testcase 6.1.10*/
/linux-4.4.14/lib/
H A Dlocking-selftest.c220 * Generate different permutations of the same testcase, using
/linux-4.4.14/arch/arm/probes/kprobes/
H A Dtest-core.c1178 /* Perform testcase specific register setup */ setup_test_context()
/linux-4.4.14/arch/sparc/mm/
H A Dinit_64.c369 * is merely the zero page. The 'bigcore' testcase in GDB flush_dcache_page()

Completed in 356 milliseconds