Lines Matching defs:failed
38 int failed;
42 bool failed = !(result); \
43 if (failed) { \
44 unittest_results.failed++; \
50 failed; \
88 "find /testcase-data failed\n");
99 "find /testcase-data/phandle-tests/consumer-a failed\n");
106 "find testcase-alias failed\n");
117 "find testcase-alias/phandle-tests/consumer-a failed\n");
135 "option path test failed\n");
140 "option path test, subcase #1 failed\n");
145 "option path test, subcase #2 failed\n");
149 unittest(np, "NULL option path test failed\n");
155 "option alias path test failed\n");
161 "option alias path test, subcase #1 failed\n");
165 unittest(np, "NULL option alias path test failed\n");
170 unittest(np && !options, "option clearing test failed\n");
175 unittest(np && !options, "option clearing root node test failed\n");
193 unittest(0, "kzalloc() failed\n");
201 unittest(of_add_property(np, prop) == 0, "Adding a new property failed\n");
209 "Adding an existing property should have failed\n");
302 "sprintf failed; fmt='%s' expected='%s' rslt='%s'\n",
312 "snprintf failed; size=%i fmt='%s' expected='%s' rslt='%s'\n",
865 unittest(ppremove, "failed to find removal prop");
895 unittest(!of_changeset_apply(&chgset), "apply failed\n");
907 unittest(!of_changeset_revert(&chgset), "revert failed\n");
913 unittest(ppremove, "failed to find removed prop after revert\n");
916 unittest(!ret, "failed to find updated prop after revert\n");
965 unittest(!rc, "of_dma_get_range failed on node %pOF rc=%i\n", np, rc);
974 unittest(0, "kzalloc() failed\n");
1450 unittest(pdev, "device 1 creation failed\n");
1455 "device deferred probe failed - %d\n", irq);
1460 unittest(pdev, "device 2 creation failed\n");
1471 "device parsing error failed - %d\n", irq);
1481 unittest(!rc, "testbus registration failed; rc=%i\n", rc);
1655 pr_warn("%s: unflatten testcases tree failed\n", __func__);
1819 "gpiochip_add_data() for node @%pfw failed, ret = %d\n", devptr->chip.fwnode, ret);
1890 "Adding overlay 'overlay_gpio_01' failed\n");
1893 "Adding overlay 'overlay_gpio_02a' failed\n");
1896 "Adding overlay 'overlay_gpio_02b' failed\n");
1903 "unittest_gpio_probe() failed or not called\n");
1929 "Adding overlay 'overlay_gpio_03' failed\n");
1932 "unittest_gpio_probe() failed or not called\n");
1953 "Adding overlay 'overlay_gpio_04a' failed\n");
1956 "unittest_gpio_probe() failed or not called\n");
1970 "Adding overlay 'overlay_gpio_04b' failed\n");
2127 pr_warn("%s: of_overlay_remove() for overlay \"%s\" failed, ret = %d\n",
2219 unittest(0, "%s failed to be destroyed @\"%s\"\n",
2412 unittest(0, "overlay @\"%s\" failed @\"%s\" %s\n",
2424 unittest(0, "%s failed destroy @\"%s\"\n",
2552 "overlay test %d failed; overlay application\n", 10))
2557 if (unittest(child_path, "overlay test %d failed; kasprintf\n", 10))
2563 unittest(ret, "overlay test %d failed; no child device\n", 10);
2575 unittest(ret == 0, "overlay test %d failed; overlay apply\n", 11);
2980 "of_overlay_notifier_register() failed, ret = %d\n", ret);
3074 unittest(1, "overlay_20 failed to be destroyed, ret = %d\n",
3081 "of_overlay_notifier_unregister() failed, ret = %d\n", ret);
3134 if (unittest(of_unittest_overlay_i2c_init() == 0, "i2c init failed\n"))
3319 int expected_result_remove; /* if apply failed */
3467 pr_err("alloc for dtb 'overlay_base' failed");
3727 unittest(ret, "Adding overlay 'overlay' failed\n");
3736 "OF: changeset: apply failed: REMOVE_PROPERTY /testcase-data-2/substation@100/motor-1/controller:name");
3741 "Adding overlay 'overlay_bad_add_dup_node' failed\n");
3746 "OF: changeset: apply failed: REMOVE_PROPERTY /testcase-data-2/substation@100/motor-1/controller:name");
3761 "OF: changeset: apply failed: REMOVE_PROPERTY /testcase-data-2/substation@100/motor-1/electric:name");
3766 "Adding overlay 'overlay_bad_add_dup_prop' failed\n");
3771 "OF: changeset: apply failed: REMOVE_PROPERTY /testcase-data-2/substation@100/motor-1/electric:name");
3782 "Adding overlay 'overlay_bad_phandle' failed\n");
3787 "OF: changeset: apply failed: REMOVE_PROPERTY /testcase-data-2/substation@100/hvac-medium-2:name");
3792 "Adding overlay 'overlay_bad_symbol' failed\n");
3797 "OF: changeset: apply failed: REMOVE_PROPERTY /testcase-data-2/substation@100/hvac-medium-2:name");
3804 "OF: resolver: overlay phandle fixup failed: -22");
3807 "Adding overlay 'overlay_bad_unresolved' failed\n");
3810 "OF: resolver: overlay phandle fixup failed: -22");
3939 goto failed;
3954 failed:
4066 pr_info("end of unittest - %i passed, %i failed\n",
4067 unittest_results.passed, unittest_results.failed);