Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_mm_test.c48 KUNIT_FAIL(test, in assert_no_holes()
77 KUNIT_FAIL(test, in assert_one_hole()
109 KUNIT_FAIL(test, "node not allocated\n"); in assert_node()
120 KUNIT_FAIL(test, in assert_node()
154 KUNIT_FAIL(test, "mm not empty on creation\n"); in drm_test_mm_init()
160 KUNIT_FAIL(test, "mm not one hole on creation"); in drm_test_mm_init()
174 KUNIT_FAIL(test, "mm has holes when filled"); in drm_test_mm_init()
227 KUNIT_FAIL(test, in expect_insert()
256 KUNIT_FAIL(test, "failed to allocate node"); in drm_test_mm_align_pot()
299 KUNIT_FAIL(test, "Could not reserve low node\n"); in drm_test_mm_once()
[all …]
H A 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()
H A Ddrm_dp_mst_helper_test.c531 KUNIT_FAIL(test, "Encode/decode failed"); in drm_test_dp_mst_sideband_msg_req_decode()
/linux-6.15/drivers/gpu/drm/xe/tests/
H A Dxe_bo.c40 KUNIT_FAIL(test, "Failed to validate bo.\n"); in ccs_test_migrate()
49 KUNIT_FAIL(test, "Failed to submit bo clear.\n"); in ccs_test_migrate()
65 KUNIT_FAIL(test, "Failed to evict bo.\n"); in ccs_test_migrate()
92 KUNIT_FAIL(test, "No TTM CCS pages present.\n"); in ccs_test_migrate()
101 KUNIT_FAIL(test, in ccs_test_migrate()
112 KUNIT_FAIL(test, in ccs_test_migrate()
144 KUNIT_FAIL(test, "Failed to create bo.\n"); in ccs_test_run_tile()
226 KUNIT_FAIL(test, "bo create err=%pe\n", bo); in evict_test_run_tile()
271 KUNIT_FAIL(test, "restore kernel err=%pe\n", in evict_test_run_tile()
289 KUNIT_FAIL(test, "bo is vram\n"); in evict_test_run_tile()
[all …]
H A Dxe_migrate.c21 KUNIT_FAIL(test, "Failed to create fence for %s: %li\n", str, in sanity_fence_failed()
30 KUNIT_FAIL(test, "Fence timed out for %s: %li\n", str, ret); in sanity_fence_failed()
48 KUNIT_FAIL(test, "Failed to allocate fake pt: %li\n", in run_sanity_job()
67 KUNIT_FAIL(_test, "Sanity check failed: " str \
103 KUNIT_FAIL(test, "Failed to vmap system bo for %s: %i\n", in test_copy()
198 KUNIT_FAIL(test, "Failed to vmap our pagetables: %li\n", in xe_migrate_sanity_test()
217 KUNIT_FAIL(test, "Failed to allocate fake pt: %li\n", in xe_migrate_sanity_test()
235 KUNIT_FAIL(test, "Failed to create batchbuffer: %li\n", in xe_migrate_sanity_test()
517 KUNIT_FAIL(test, "Failed to evict bo.\n"); in test_migrate()
523 KUNIT_FAIL(test, "Failed to vmap vram bo: %li\n", ret); in test_migrate()
[all …]
H A Dxe_dma_buf.c52 KUNIT_FAIL(test, "Exported bo was not in expected memory type.\n"); in check_residency()
72 KUNIT_FAIL(test, "Evicting exporter failed with err=%d.\n", in check_residency()
79 KUNIT_FAIL(test, "Importer wasn't properly evicted.\n"); in check_residency()
87 KUNIT_FAIL(test, "Validating importer failed with err=%d.\n", in check_residency()
131 KUNIT_FAIL(test, "xe_bo_create() failed with err=%ld\n", in xe_test_dmabuf_import_same_driver()
138 KUNIT_FAIL(test, "xe_gem_prime_export() failed with err=%ld\n", in xe_test_dmabuf_import_same_driver()
153 KUNIT_FAIL(test, in xe_test_dmabuf_import_same_driver()
179 KUNIT_FAIL(test, in xe_test_dmabuf_import_same_driver()
186 KUNIT_FAIL(test, "dynamic p2p attachment failed with err=%ld\n", in xe_test_dmabuf_import_same_driver()
H A Dxe_gt_sriov_pf_service_test.c90 KUNIT_FAIL(test, "FIXME: don't know how to test multi-version yet!\n"); in pf_negotiate_base_newer()
107 KUNIT_FAIL(test, "FIXME: don't know how to test multi-version yet!\n"); in pf_negotiate_base_next()
/linux-6.15/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_mem_maps.c134 KUNIT_FAIL(priv->test, "Unexpected region %d\n", mem_type); in cs_dsp_mock_base_addr_for_mem()
156 KUNIT_FAIL(priv->test, "Unexpected DSP type\n"); in cs_dsp_mock_reg_addr_inc_per_unpacked_word()
204 KUNIT_FAIL(priv->test, "Unexpected DSP type\n"); in cs_dsp_mock_reg_block_length_bytes()
208 KUNIT_FAIL(priv->test, "Unexpected mem type\n"); in cs_dsp_mock_reg_block_length_bytes()
270 KUNIT_FAIL(priv->test, "Unexpected DSP type\n"); in cs_dsp_mock_reg_block_length_dsp_words()
274 KUNIT_FAIL(priv->test, "Unexpected mem type\n"); in cs_dsp_mock_reg_block_length_dsp_words()
444 KUNIT_FAIL(priv->test, "Unexpected DSP type %d\n", priv->dsp->type); in cs_dsp_mock_xm_header_get_alg_base_in_words()
458 KUNIT_FAIL(priv->test, "Bad mem_type\n"); in cs_dsp_mock_xm_header_get_alg_base_in_words()
484 KUNIT_FAIL(header->test_priv->test, NULL); in cs_dsp_mock_xm_header_get_fw_version()
698 KUNIT_FAIL(priv->test, "%s unexpected DSP type %d\n", in cs_dsp_create_mock_xm_header()
H A Dcs_dsp_mock_regmap.c21 KUNIT_FAIL(priv->test, "Unexpected bus read @%#x", *(u32 *)reg_buf); in cs_dsp_mock_regmap_read()
35 KUNIT_FAIL(priv->test, "Unexpected bus gather_write @%#x", *(u32 *)reg_buf); in cs_dsp_mock_regmap_gather_write()
47 KUNIT_FAIL(priv->test, "Unexpected bus write @%#x", *(u32 *)val_buf); in cs_dsp_mock_regmap_write()
/linux-6.15/sound/soc/
H A Dsoc-topology-test.c255 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_with_null_comp()
297 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_with_null_ops()
359 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_with_null_fw()
407 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg()
462 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg_bad_magic()
517 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg_bad_abi()
572 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg_bad_size()
628 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_empty_tplg_bad_payload_size()
676 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_pcm_tplg()
726 KUNIT_FAIL(test, "Failed to register card"); in snd_soc_tplg_test_load_pcm_tplg_reload_comp()
[all …]
H A Dsoc-ops-test.c339 KUNIT_FAIL(priv->test, "Unexpected bus read"); in mock_regmap_read()
350 KUNIT_FAIL(priv->test, "Unexpected bus gather_write"); in mock_regmap_gather_write()
360 KUNIT_FAIL(priv->test, "Unexpected bus write"); in mock_regmap_write()
/linux-6.15/lib/tests/
H A Dprintf_kunit.c56 KUNIT_FAIL(kunittest, in do_test()
63 KUNIT_FAIL(kunittest, in do_test()
71 KUNIT_FAIL(kunittest, in do_test()
80 KUNIT_FAIL(kunittest, in do_test()
87 KUNIT_FAIL(kunittest, in do_test()
94 KUNIT_FAIL(kunittest, in do_test()
101 KUNIT_FAIL(kunittest, in do_test()
117 KUNIT_FAIL(kunittest, in __test()
141 KUNIT_FAIL(kunittest, in __test()
H A Dlongest_symbol_kunit.c55 KUNIT_FAIL(test, "test_longest_symbol kallsyms: kprobe not registered\n"); in test_longest_symbol_kallsyms()
H A Dscanf_kunit.c38 KUNIT_FAIL(test, "%s:%d: vsscanf(\"%s\", \"%s\", ...) returned %d expected %d", in _test()
52 KUNIT_FAIL(test, \
691 KUNIT_FAIL(test, #fn "(\"%s\", %d): got " gen_fmt " expected " gen_fmt, \
694 KUNIT_FAIL(test, #fn "(\"%s\", %d) startp=0x%px got endp=0x%px expected 0x%px", \
H A Dhashtable_test.c87 KUNIT_FAIL(test, "Unexpected key in hashtable."); in hashtable_test_hash_add()
/linux-6.15/sound/pci/hda/
H A Dcirrus_scodec_test.c126 KUNIT_FAIL(test, "Failed to add swnode to gpio: %d\n", ret); in cirrus_scodec_test_create_gpio()
133 KUNIT_FAIL(test, "Failed to add gpio platform device: %d\n", ret); in cirrus_scodec_test_create_gpio()
140 KUNIT_FAIL(test, "Failed to get gpio private data\n"); in cirrus_scodec_test_create_gpio()
/linux-6.15/drivers/of/
H A Dof_kunit_helpers.c85 KUNIT_FAIL(test, in of_node_put_kunit()
/linux-6.15/net/mac80211/tests/
H A Delems.c28 KUNIT_FAIL(test, "failed to pad skb"); in mle_defrag()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/tests/
H A Ddevinfo.c38 KUNIT_FAIL(test, in devinfo_table_order()
/linux-6.15/net/core/
H A Dnet_test.c231 KUNIT_FAIL(test, "segs error %pe", segs); in gso_test_func()
234 KUNIT_FAIL(test, "no segments"); in gso_test_func()
H A Ddev_addr_lists_test.c49 KUNIT_FAIL(test, "Can't register netdev %d", err); in dev_addr_test_init()
/linux-6.15/init/
H A Dinitramfs_test.c108 KUNIT_FAIL(test, "unpack failed %s", err); in initramfs_test_extract()
226 KUNIT_FAIL(test, "open failed"); in initramfs_test_data()
/linux-6.15/lib/kunit/
H A Dkunit-test.c35 KUNIT_FAIL(test, "Catch should not be called\n"); in kunit_test_no_catch()
59 KUNIT_FAIL(test, "This line should never be reached\n"); in kunit_test_unsuccessful_try()
121 KUNIT_FAIL(test, "This line should never be reached\n"); in kunit_test_null_dereference()
H A Dkunit-example-test.c87 KUNIT_FAIL(test, "You should not see this line."); in example_skip_test()
/linux-6.15/Documentation/dev-tools/kunit/
H A Dusage.rst21 KUNIT_FAIL(test, "This test never passes.");
26 other hand ``example_test_failure`` always fails because it calls ``KUNIT_FAIL``,
149 ``KUNIT_FAIL()``, e.g.
158 KUNIT_FAIL(test, "Failed to setup thing for testing");

12