Lines Matching refs:msg
70 /* Fail and abort the current test for the reason in msg */
71 #define tt_abort_printf(msg) TT_DIE(msg)
73 #define tt_abort_msg(msg) TT_DIE(("%s", msg))
76 /* Fail but do not abort the current test for the reason in msg. */
77 #define tt_failprint_f(msg) TT_FAIL(msg)
79 #define tt_fail_msg(msg) TT_FAIL(("%s", msg))
89 #define tt_want_(b, msg, fail) \
93 TT_GRIPE(("%s",msg)); \
96 TT_BLATHER(("%s",msg)); \
100 /* Assert b, but do not stop the test if b fails. Log msg on failure. */
101 #define tt_want_msg(b, msg) \
102 tt_want_(b, msg, );
104 /* Assert b and stop the test if b fails. Log msg on failure. */
105 #define tt_assert_msg(b, msg) \
106 tt_want_(b, msg, TT_EXIT_TEST_FUNCTION);