Home
last modified time | relevance | path

Searched refs:FAIL_MSG (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/rtc/
Dlib_test.c57 #define FAIL_MSG "%d/%02d/%02d (%2d) : %lld", \ in rtc_time64_to_tm_test_date_range() macro
60 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()
/linux-6.12.1/kernel/time/
Dtime_test.c76 #define FAIL_MSG "%05ld/%02d/%02d (%2d) : %lld", \ in time64_to_tm_test_date_range() macro
79 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()