Home
last modified time | relevance | path

Searched refs:KUNIT_EXPECT_TRUE_MSG (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_rect_test.c67 KUNIT_EXPECT_TRUE_MSG(test, visible, "Destination should be visible\n"); in drm_test_rect_clip_scaled_not_clipped()
68 KUNIT_EXPECT_TRUE_MSG(test, drm_rect_visible(&src), "Source should be visible\n"); in drm_test_rect_clip_scaled_not_clipped()
81 KUNIT_EXPECT_TRUE_MSG(test, visible, "Destination should be visible\n"); in drm_test_rect_clip_scaled_not_clipped()
82 KUNIT_EXPECT_TRUE_MSG(test, drm_rect_visible(&src), "Source should be visible\n"); in drm_test_rect_clip_scaled_not_clipped()
95 KUNIT_EXPECT_TRUE_MSG(test, visible, "Destination should be visible\n"); in drm_test_rect_clip_scaled_not_clipped()
115 KUNIT_EXPECT_TRUE_MSG(test, visible, "Destination should be visible\n"); in drm_test_rect_clip_scaled_clipped()
129 KUNIT_EXPECT_TRUE_MSG(test, visible, "Destination should be visible\n"); in drm_test_rect_clip_scaled_clipped()
143 KUNIT_EXPECT_TRUE_MSG(test, visible, "Destination should be visible\n"); in drm_test_rect_clip_scaled_clipped()
157 KUNIT_EXPECT_TRUE_MSG(test, visible, "Destination should be visible\n"); in drm_test_rect_clip_scaled_clipped()
171 KUNIT_EXPECT_TRUE_MSG(test, visible, "Destination should be visible\n"); in drm_test_rect_clip_scaled_clipped()
[all …]
H A Ddrm_plane_helper_test.c96 KUNIT_EXPECT_TRUE_MSG(test, drm_rect_equals(&plane_state->src, &expected), in check_src_eq()
107 KUNIT_EXPECT_TRUE_MSG(test, drm_rect_equals(&plane_state->dst, &expected), in check_crtc_eq()
/linux-6.15/fs/unicode/tests/
H A Dutf8_kunit.c169 KUNIT_EXPECT_TRUE_MSG(test, ret >= 0, "Can't create cursor\n"); in check_utf8_nfdi()
201 KUNIT_EXPECT_TRUE_MSG(test, ret >= 0, "Can't create cursor\n"); in check_utf8_nfdicf()
226 KUNIT_EXPECT_TRUE_MSG(test, utf8_strncmp(um, &s1, &s2) == 0, in check_utf8_comparisons()
237 KUNIT_EXPECT_TRUE_MSG(test, utf8_strncasecmp(um, &s1, &s2) == 0, in check_utf8_comparisons()
/linux-6.15/lib/tests/
H A Dcpumask_kunit.c64 KUNIT_EXPECT_TRUE_MSG(test, cpumask_empty(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_weight()
65 KUNIT_EXPECT_TRUE_MSG(test, cpumask_full(&mask_all), MASK_MSG(&mask_all)); in test_cpumask_weight()
H A Doverflow_kunit.c274 KUNIT_EXPECT_TRUE_MSG(test, _r == r, \
311 KUNIT_EXPECT_TRUE_MSG(test, _r == _a_sym, \
314 KUNIT_EXPECT_TRUE_MSG(test, _a == _a_sym, \
H A Dfortify_kunit.c159 KUNIT_EXPECT_TRUE_MSG(test, p != NULL, #alloc " failed?!\n"); \
169 KUNIT_EXPECT_TRUE_MSG(test, p != NULL, #alloc " failed?!\n"); \
H A Dlist-test.c271 KUNIT_EXPECT_TRUE_MSG(test, list_is_head(&a, &a), in list_test_list_is_head()
570 KUNIT_EXPECT_TRUE_MSG(test, in list_test_list_entry_is_head()
/linux-6.15/drivers/gpu/drm/xe/tests/
H A Dxe_mocs.c88 KUNIT_EXPECT_TRUE_MSG(test, info->unused_entries_index, in read_mocs_table()
H A Dxe_guc_buf_kunit.c124 KUNIT_EXPECT_TRUE_MSG(test, xe_guc_buf_is_valid(bufs[n]), "n=%d", n); in test_granular()
/linux-6.15/include/kunit/
H A Dtest.h928 KUNIT_EXPECT_TRUE_MSG(test, condition, NULL)
930 #define KUNIT_EXPECT_TRUE_MSG(test, condition, fmt, ...) \ macro