Home
last modified time | relevance | path

Searched refs:KUNIT_EXPECT_FALSE (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/gpu/drm/tests/
A Ddrm_cmdline_parser_test.c25 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_e_only()
26 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only()
43 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_not_digital()
44 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_not_digital()
65 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_hdmi()
66 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_hdmi()
87 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_dvi()
88 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_dvi()
105 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_d_only()
127 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_res()
[all …]
A Ddrm_format_helper_test.c724 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_rgb565()
771 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_xrgb1555()
818 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_argb1555()
865 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_rgba5551()
913 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_rgb888()
960 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_argb8888()
1005 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_xrgb2101010()
1052 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_xrgb8888_to_argb2101010()
1131 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_swab()
1141 KUNIT_EXPECT_FALSE(test, blit_result); in drm_test_fb_swab()
[all …]
A Ddrm_buddy_test.c276 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, mm_size, ps)); in drm_test_buddy_alloc_clear()
336 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, mm_size, ps)); in drm_test_buddy_alloc_clear()
394 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, mm_size, ps)); in drm_test_buddy_alloc_clear()
414 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, mm_size, ps)); in drm_test_buddy_alloc_contiguous()
719 KUNIT_EXPECT_FALSE(test, drm_buddy_init(&mm, size, SZ_4K)); in drm_test_buddy_alloc_limit()
726 KUNIT_EXPECT_FALSE(test, drm_buddy_alloc_blocks(&mm, start, size, size, in drm_test_buddy_alloc_limit()
A Ddrm_gem_shmem_test.c290 KUNIT_EXPECT_FALSE(test, ret); in drm_gem_shmem_test_madvise()
295 KUNIT_EXPECT_FALSE(test, ret); in drm_gem_shmem_test_madvise()
320 KUNIT_EXPECT_FALSE(test, ret); in drm_gem_shmem_test_purge()
/linux/lib/kunit/
A Dassert_test.c12 #define ASSERT_TEST_EXPECT_NCONTAIN(test, str, substr) KUNIT_EXPECT_FALSE(test, strstr(str, substr))
20 KUNIT_EXPECT_FALSE(test, is_literal("05", 5)); in kunit_test_is_literal()
21 KUNIT_EXPECT_FALSE(test, is_literal("", 0)); in kunit_test_is_literal()
22 KUNIT_EXPECT_FALSE(test, is_literal("-0", 0)); in kunit_test_is_literal()
23 KUNIT_EXPECT_FALSE(test, is_literal("12#45", 1245)); in kunit_test_is_literal()
31 KUNIT_EXPECT_FALSE(test, is_str_literal("", "")); in kunit_test_is_str_literal()
32 KUNIT_EXPECT_FALSE(test, is_str_literal("\"", "\"")); in kunit_test_is_str_literal()
33 KUNIT_EXPECT_FALSE(test, is_str_literal("\"Abacaba", "Abacaba")); in kunit_test_is_str_literal()
34 KUNIT_EXPECT_FALSE(test, is_str_literal("Abacaba\"", "Abacaba")); in kunit_test_is_str_literal()
35 KUNIT_EXPECT_FALSE(test, is_str_literal("\"Abacaba\"", "\"Abacaba\"")); in kunit_test_is_str_literal()
A Dexecutor_test.c32 KUNIT_EXPECT_FALSE(test, filter.test_glob); in parse_filter_test()
95 KUNIT_EXPECT_FALSE(test, got.start[0]->test_cases[1].name); in filter_suites_test_glob_test()
185 KUNIT_EXPECT_FALSE(test, got.start[0]->test_cases[1].name); in filter_attr_test()
235 KUNIT_EXPECT_FALSE(test, got.start[0]->test_cases[1].status); in filter_attr_skip_test()
A Dstring-stream-test.c52 KUNIT_EXPECT_FALSE(test, stream->append_newlines); in string_stream_managed_init_test()
68 KUNIT_EXPECT_FALSE(test, stream->append_newlines); in string_stream_unmanaged_init_test()
116 KUNIT_EXPECT_FALSE(test, priv->stream_free_again); in string_stream_managed_free_test()
156 KUNIT_EXPECT_FALSE(test, priv->stream_free_again); in string_stream_resource_free_test()
A Dkunit-test.c244 KUNIT_EXPECT_FALSE(test, ctx->is_resource_initialized); in kunit_resource_test_destroy_resource()
259 KUNIT_EXPECT_FALSE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_remove_resource()
279 KUNIT_EXPECT_FALSE(test, ctx->is_resource_initialized); in kunit_resource_test_remove_resource()
A Dkunit-example-test.c115 KUNIT_EXPECT_FALSE(test, false); in example_all_expect_macros_test()
/linux/drivers/clk/
A Dclk-gate_test.c190 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(hw)); in clk_gate_test_disable()
191 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(hw)); in clk_gate_test_disable()
192 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(parent)); in clk_gate_test_disable()
193 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(parent)); in clk_gate_test_disable()
270 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(hw)); in clk_gate_test_invert_disable()
271 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(hw)); in clk_gate_test_invert_disable()
272 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(parent)); in clk_gate_test_invert_disable()
273 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(parent)); in clk_gate_test_invert_disable()
343 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(hw)); in clk_gate_test_hiword_disable()
344 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(hw)); in clk_gate_test_hiword_disable()
[all …]
/linux/kernel/kcsan/
A Dkcsan_test.c736 KUNIT_EXPECT_FALSE(test, match_never); in test_basic()
768 KUNIT_EXPECT_FALSE(test, match_never); in test_concurrent_races()
928 KUNIT_EXPECT_FALSE(test, match_never); in test_read_atomic_write_atomic()
999 KUNIT_EXPECT_FALSE(test, match_never); in test_zero_size_access()
1012 KUNIT_EXPECT_FALSE(test, match_never); in test_data_race()
1025 KUNIT_EXPECT_FALSE(test, match_never); in test_data_racy_qualifier()
1097 KUNIT_EXPECT_FALSE(test, match_never); in test_assert_exclusive_access_writer()
1128 KUNIT_EXPECT_FALSE(test, match_never); in test_assert_exclusive_bits_nochange()
1203 KUNIT_EXPECT_FALSE(test, match_never); in test_jiffies_noreport()
1216 KUNIT_EXPECT_FALSE(test, match_never); in test_seqlock_noreport()
[all …]
/linux/lib/
A Dtest_kprobes.c38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler()
49 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler()
177 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler()
186 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler()
253 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_return_handler()
314 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_internal_return_handler()
A Dlist-test.c289 KUNIT_EXPECT_FALSE(test, list_is_first(&b, &list)); in list_test_list_is_first()
300 KUNIT_EXPECT_FALSE(test, list_is_last(&a, &list)); in list_test_list_is_last()
312 KUNIT_EXPECT_FALSE(test, list_empty(&list1)); in list_test_list_empty()
376 KUNIT_EXPECT_FALSE(test, list_is_singular(&list)); in list_test_list_is_singular()
386 KUNIT_EXPECT_FALSE(test, list_is_singular(&list)); in list_test_list_is_singular()
858 KUNIT_EXPECT_FALSE(test, hlist_unhashed(&a)); in hlist_test_unhashed()
956 KUNIT_EXPECT_FALSE(test, hlist_fake(&a)); in hlist_test_fake()
991 KUNIT_EXPECT_FALSE(test, hlist_empty(&list)); in hlist_test_empty()
1002 KUNIT_EXPECT_FALSE(test, hlist_empty(&list1)); in hlist_test_move_list()
1006 KUNIT_EXPECT_FALSE(test, hlist_empty(&list2)); in hlist_test_move_list()
[all …]
A Dtest_fprobe.c45 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler()
66 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler()
86 KUNIT_EXPECT_FALSE(current_test, preemptible()); in nest_entry_handler()
94 KUNIT_EXPECT_FALSE(current_test, preemptible()); in nest_exit_handler()
A Dtest_linear_ranges.c156 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_high()
201 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_low()
/linux/arch/powerpc/kvm/
A Dtest-guest-state-buffer.c140 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
150 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
159 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
168 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
178 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
187 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
/linux/security/apparmor/
A Dpolicy_unpack_test.c139 KUNIT_EXPECT_FALSE(test, aa_inbounds(puf->e, puf->e_size + 1)); in policy_unpack_test_inbounds_when_out_of_bounds()
178 KUNIT_EXPECT_FALSE(test, aa_unpack_array(puf->e, name, &array_size)); in policy_unpack_test_unpack_array_out_of_bounds()
280 KUNIT_EXPECT_FALSE(test, in policy_unpack_test_unpack_strdup_with_null_name()
295 KUNIT_EXPECT_FALSE(test, in policy_unpack_test_unpack_strdup_with_name()
341 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_code()
371 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_name()
481 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_u32_out_of_bounds()
531 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_u64_out_of_bounds()
550 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_X_code_mismatch()
562 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_X_out_of_bounds()
/linux/mm/kfence/
A Dkfence_test.c472 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_read()
479 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_read()
505 KUNIT_EXPECT_FALSE(test, report_available()); in test_kmalloc_aligned_oob_write()
522 KUNIT_EXPECT_FALSE(test, report_available()); in test_shrink_memcache()
601 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_ctor()
639 KUNIT_EXPECT_FALSE(test, report_available()); in test_gfpzero()
681 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_typesafe_by_rcu()
704 KUNIT_EXPECT_FALSE(test, test_cache); in test_krealloc()
767 KUNIT_EXPECT_FALSE(test, report_available()); in test_memcache_alloc_bulk()
/linux/drivers/fpga/tests/
A Dfpga-bridge-test.c99 KUNIT_EXPECT_FALSE(test, ctx->stats.enable); in fpga_bridge_test_toggle()
136 KUNIT_EXPECT_FALSE(test, ctx_0->stats.enable); in fpga_bridge_test_get_put_list()
137 KUNIT_EXPECT_FALSE(test, ctx_1->stats.enable); in fpga_bridge_test_get_put_list()
/linux/drivers/firewire/
A Dpacket-serdes-test.c671 KUNIT_EXPECT_FALSE(test, extended); in test_phy_packet_self_id_zero_case0()
677 KUNIT_EXPECT_FALSE(test, is_initiated_reset); in test_phy_packet_self_id_zero_case0()
678 KUNIT_EXPECT_FALSE(test, has_more_packets); in test_phy_packet_self_id_zero_case0()
726 KUNIT_EXPECT_FALSE(test, extended); in test_phy_packet_self_id_zero_case1()
733 KUNIT_EXPECT_FALSE(test, has_more_packets); in test_phy_packet_self_id_zero_case1()
786 KUNIT_EXPECT_FALSE(test, extended); in test_phy_packet_self_id_zero_and_one()
787 KUNIT_EXPECT_FALSE(test, link_is_active); in test_phy_packet_self_id_zero_and_one()
790 KUNIT_EXPECT_FALSE(test, is_contender); in test_phy_packet_self_id_zero_and_one()
792 KUNIT_EXPECT_FALSE(test, is_initiated_reset); in test_phy_packet_self_id_zero_and_one()
806 KUNIT_EXPECT_FALSE(test, has_more_packets); in test_phy_packet_self_id_zero_and_one()
[all …]
A Dohci-serdes-test.c59 KUNIT_EXPECT_FALSE(test, has_src_bus_id); in test_at_data_serdes()
/linux/drivers/base/regmap/
A Dregmap-kunit.c407 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed()
430 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed()
451 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed()
473 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed_volatile()
496 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed_volatile()
516 KUNIT_EXPECT_FALSE(test, map->cache_bypass); in read_bypassed_volatile()
584 KUNIT_EXPECT_FALSE(test, data->read[5]); in read_writeonly()
725 KUNIT_EXPECT_FALSE(test, data->read[i]); in stride()
832 KUNIT_EXPECT_FALSE(test, data->read[i]); in basic_ranges()
833 KUNIT_EXPECT_FALSE(test, data->written[i]); in basic_ranges()
[all …]
/linux/drivers/hid/
A Dhid-input-test.c19 KUNIT_EXPECT_FALSE(test, handled); in hid_test_input_set_battery_charge_status()
/linux/drivers/base/test/
A Dproperty-entry-test.c337 KUNIT_EXPECT_FALSE(test, fwnode_property_read_bool(node, "not-prop")); in pe_test_bool()
364 KUNIT_EXPECT_FALSE(test, copy[1].is_inline); in pe_test_move_inline_u8()
394 KUNIT_EXPECT_FALSE(test, copy[1].is_inline); in pe_test_move_inline_str()
/linux/mm/damon/tests/
A Dcore-kunit.h443 KUNIT_EXPECT_FALSE(test, __damos_filter_out(NULL, t, r, f)); in damos_test_filter_out()
449 KUNIT_EXPECT_FALSE(test, __damos_filter_out(NULL, t, r, f)); in damos_test_filter_out()
455 KUNIT_EXPECT_FALSE(test, __damos_filter_out(NULL, t, r, f)); in damos_test_filter_out()

Completed in 50 milliseconds

12