Home
last modified time | relevance | path

Searched refs:KUNIT_FAIL (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/tests/
Ddrm_mm_test.c56 KUNIT_FAIL(test, in assert_no_holes()
63 KUNIT_FAIL(test, "Hole follows node, expected none!\n"); in assert_no_holes()
85 KUNIT_FAIL(test, in assert_one_hole()
93 KUNIT_FAIL(test, "Expected to find one hole, found %lu instead\n", count); in assert_one_hole()
113 KUNIT_FAIL(test, "node[%ld] list out of order, expected %llx found %llx\n", in assert_continuous()
119 KUNIT_FAIL(test, "node[%ld].size incorrect, expected %llx, found %llx\n", in assert_continuous()
125 KUNIT_FAIL(test, "node[%ld] is followed by a hole!\n", n); in assert_continuous()
132 KUNIT_FAIL(test, in assert_continuous()
140 KUNIT_FAIL(test, "lookup failed for node %llx + %llx\n", addr, size); in assert_continuous()
168 KUNIT_FAIL(test, "node not allocated\n"); in assert_node()
[all …]
Ddrm_damage_helper_test.c111 KUNIT_FAIL(test, "Cannot have damage clip with no dimension."); in check_damage_clip()
113 KUNIT_FAIL(test, "Damage cannot be outside rounded plane src."); in check_damage_clip()
115 KUNIT_FAIL(test, "Damage = %d %d %d %d, want = %d %d %d %d", in check_damage_clip()
Ddrm_buddy_test.c445 KUNIT_FAIL(test, "buddy_alloc hit -ENOMEM with order=%d\n", in drm_test_buddy_alloc_smoke()
453 KUNIT_FAIL(test, "buddy_alloc with order=%d failed\n", in drm_test_buddy_alloc_smoke()
/Linux-v6.1/sound/soc/
Dsoc-topology-test.c263 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_with_null_comp()
305 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_with_null_ops()
367 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_with_null_fw()
415 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg()
470 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg_bad_magic()
525 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg_bad_abi()
580 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg_bad_size()
636 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg_bad_payload_size()
684 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_pcm_tplg()
734 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_pcm_tplg_reload_comp()
[all …]
/Linux-v6.1/lib/kunit/
Dkunit-example-test.c66 KUNIT_FAIL(test, "You should not see this line."); in example_skip_test()
Dkunit-test.c29 KUNIT_FAIL(test, "Catch should not be called\n"); in kunit_test_no_catch()
53 KUNIT_FAIL(test, "This line should never be reached\n"); in kunit_test_unsuccessful_try()
Dtest.c730 KUNIT_FAIL(test, "kunit_kfree: %px already freed or not allocated by kunit", ptr); in kunit_kfree()
/Linux-v6.1/Documentation/dev-tools/kunit/
Dtips.rst176 Alternatively, one can take full control over the error message by using ``KUNIT_FAIL()``, e.g.
185 KUNIT_FAIL(test, "Failed to setup thing for testing");
Dstart.rst238 KUNIT_FAIL(test, "This test never passes.");
Dusage.rst21 KUNIT_FAIL(test, "This test never passes.");
26 other hand ``example_test_failure`` always fails because it calls ``KUNIT_FAIL``,
/Linux-v6.1/net/core/
Ddev_addr_lists_test.c49 KUNIT_FAIL(test, "Can't register netdev %d", err); in dev_addr_test_init()
/Linux-v6.1/include/kunit/
Dtest.h512 #define KUNIT_FAIL(test, fmt, ...) \ macro
/Linux-v6.1/lib/
Doverflow_kunit.c586 KUNIT_FAIL(test, #func " missed saturation!\n"); \
/Linux-v6.1/mm/kasan/
Dkasan_test.c102 KUNIT_FAIL(test, KUNIT_SUBTEST_INDENT "KASAN failure " \
/Linux-v6.1/drivers/thunderbolt/
Dtest.c2735 KUNIT_FAIL(test, "unexpected property type"); in compare_dirs()