Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dstrscpy_kunit.c54 KUNIT_ASSERT_EQ_MSG(test, 0, strncmp(buf, src, count - 1), in tc()
56 KUNIT_ASSERT_EQ_MSG(test, buf[count - 1], '\0', in tc()
61 KUNIT_ASSERT_EQ_MSG(test, buf[i], src[i], in tc()
65 KUNIT_ASSERT_EQ_MSG(test, buf[count - 1], '\0', in tc()
70 KUNIT_ASSERT_EQ_MSG(test, buf[index], '\0', in tc()
77 KUNIT_ASSERT_EQ_MSG(test, buf[index], POISON, in tc()
H A Dmemcpy_kunit.c34 KUNIT_ASSERT_EQ_MSG(test, instance.data[i], v, \
348 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test()
352 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test()
357 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test()
412 KUNIT_ASSERT_EQ_MSG(test, memcmp(&large_dst[d_off], large_src, bytes), 0, in inner_loop()
440 KUNIT_ASSERT_EQ_MSG(test, in inner_loop()
446 KUNIT_ASSERT_EQ_MSG(test, in inner_loop()
451 KUNIT_ASSERT_EQ_MSG(test, in inner_loop()
H A Dstackinit_kunit.c168 KUNIT_ASSERT_EQ_MSG(test, sum, 0, \
194 KUNIT_ASSERT_EQ_MSG(test, sum, 0, \
/openbmc/linux/drivers/rtc/
H A Dlib_test.c60 KUNIT_ASSERT_EQ_MSG(test, year - 1900, result.tm_year, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
61 KUNIT_ASSERT_EQ_MSG(test, month - 1, result.tm_mon, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
62 KUNIT_ASSERT_EQ_MSG(test, mday, result.tm_mday, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
63 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
/openbmc/linux/kernel/time/
H A Dtime_test.c79 KUNIT_ASSERT_EQ_MSG(test, year - 1900, result.tm_year, FAIL_MSG); in time64_to_tm_test_date_range()
80 KUNIT_ASSERT_EQ_MSG(test, month - 1, result.tm_mon, FAIL_MSG); in time64_to_tm_test_date_range()
81 KUNIT_ASSERT_EQ_MSG(test, mdday, result.tm_mday, FAIL_MSG); in time64_to_tm_test_date_range()
82 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in time64_to_tm_test_date_range()
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c117 KUNIT_ASSERT_EQ_MSG(test, in drm_test_check_plane_state()
H A Ddrm_buddy_test.c671 KUNIT_ASSERT_EQ_MSG(test, drm_buddy_block_offset(block), offset, in drm_test_buddy_alloc_range()
/openbmc/linux/include/kunit/
H A Dtest.h1243 KUNIT_ASSERT_EQ_MSG(test, left, right, NULL)
1245 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ macro
/openbmc/linux/lib/kunit/
H A Dexecutor_test.c132 KUNIT_ASSERT_EQ_MSG(test, err, 0, "failed to parse filter from '%s'", filters); in parse_filter_attr_test()
/openbmc/linux/net/mctp/test/
H A Droute-test.c77 KUNIT_ASSERT_EQ_MSG(test, refs, 1, "route ref imbalance"); in mctp_test_route_destroy()