Lines Matching defs:msg
60 static void test_perror(const char *func, const char *msg)
62 fprintf(stderr, "%s %s() - %s: %s\n", testname, func, msg,
66 static void test_error(const char *func, const char *msg, ...)
72 static void test_error(const char *func, const char *msg, ...)
76 va_start(ap, msg);
77 vfprintf(stderr, msg, ap);
114 #define start_test(msg, args...) { \
120 __start_test(msg, ##args); \
123 #define PERROR(msg) test_perror(__FUNCTION__, msg)
124 #define ERROR(msg, args...) test_error(__FUNCTION__, msg, ##args)