Lines Matching refs:fmt

583 void kunit_log_append(char *log, const char *fmt, ...);
589 #define kunit_log(lvl, test_or_suite, fmt, ...) \ argument
591 printk(lvl fmt, ##__VA_ARGS__); \
592 kunit_log_append((test_or_suite)->log, fmt "\n", \
596 #define kunit_printk(lvl, test, fmt, ...) \ argument
597 kunit_log(lvl, test, KUNIT_SUBTEST_INDENT "# %s: " fmt, \
609 #define kunit_info(test, fmt, ...) \ argument
610 kunit_printk(KERN_INFO, test, fmt, ##__VA_ARGS__)
620 #define kunit_warn(test, fmt, ...) \ argument
621 kunit_printk(KERN_WARNING, test, fmt, ##__VA_ARGS__)
631 #define kunit_err(test, fmt, ...) \ argument
632 kunit_printk(KERN_ERR, test, fmt, ##__VA_ARGS__)
647 const char *fmt, ...);
649 #define KUNIT_ASSERTION(test, pass, assert_class, INITIALIZER, fmt, ...) do { \ argument
654 fmt, \
659 #define KUNIT_FAIL_ASSERTION(test, assert_type, fmt, ...) \ argument
664 fmt, \
678 #define KUNIT_FAIL(test, fmt, ...) \ argument
681 fmt, \
688 fmt, \ argument
697 fmt, \
700 #define KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
705 fmt, \
711 #define KUNIT_FALSE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
716 fmt, \
743 fmt, \ argument
760 fmt, \
770 fmt, \ argument
777 fmt, \
786 fmt, \ argument
793 fmt, \
802 fmt, \ argument
809 fmt, \
818 fmt, \ argument
825 fmt, \
834 fmt, \ argument
841 fmt, \
850 fmt, \ argument
857 fmt, \
860 #define KUNIT_BINARY_EQ_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
867 fmt, \
881 fmt, \ argument
889 fmt, \
899 #define KUNIT_BINARY_NE_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
906 fmt, \
920 fmt, \ argument
928 fmt, \
938 #define KUNIT_BINARY_LT_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
945 fmt, \
959 fmt, \ argument
967 fmt, \
977 #define KUNIT_BINARY_LE_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
984 fmt, \
998 fmt, \ argument
1006 fmt, \
1016 #define KUNIT_BINARY_GT_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
1023 fmt, \
1037 fmt, \ argument
1045 fmt, \
1055 #define KUNIT_BINARY_GE_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
1062 fmt, \
1076 fmt, \ argument
1084 fmt, \
1099 fmt, \ argument
1115 fmt, \
1123 fmt, \ argument
1128 fmt, \
1142 fmt, \ argument
1147 fmt, \
1160 fmt, \ argument
1172 fmt, \
1196 #define KUNIT_EXPECT_TRUE_MSG(test, condition, fmt, ...) \ argument
1200 fmt, \
1215 #define KUNIT_EXPECT_FALSE_MSG(test, condition, fmt, ...) \ argument
1219 fmt, \
1236 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
1241 fmt, \
1261 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1266 fmt, \
1283 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
1288 fmt, \
1308 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1313 fmt, \
1330 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
1335 fmt, \
1352 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
1357 fmt, \
1374 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
1379 fmt, \
1396 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
1401 fmt, \
1418 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1423 fmt, \
1440 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1445 fmt, \
1461 #define KUNIT_EXPECT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument
1465 fmt, \
1468 #define KUNIT_ASSERT_FAILURE(test, fmt, ...) \ argument
1469 KUNIT_FAIL_ASSERTION(test, KUNIT_ASSERTION, fmt, ##__VA_ARGS__)
1485 #define KUNIT_ASSERT_TRUE_MSG(test, condition, fmt, ...) \ argument
1489 fmt, \
1504 #define KUNIT_ASSERT_FALSE_MSG(test, condition, fmt, ...) \ argument
1508 fmt, \
1524 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1529 fmt, \
1545 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1550 fmt, \
1566 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1571 fmt, \
1588 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1593 fmt, \
1609 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1614 fmt, \
1630 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1635 fmt, \
1652 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1657 fmt, \
1674 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1679 fmt, \
1695 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1700 fmt, \
1717 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1722 fmt, \
1738 #define KUNIT_ASSERT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument
1742 fmt, \