10 fprintf(stdout, ANSI_BRED"[%s:%d] " #a "\n" ANSI_NORMAL, __FILE__, __LINE__);\
12 fprintf(stdout, "[%s:%d] " #a "\n", __FILE__, __LINE__); \
18#define FAILEXIT(a, label) if ((a)) { test_failed(); goto label;}
21#define ENTER_TESTSET \
22 fprintf(stdout,"===================\n"); \
23 fprintf(stdout,"Executing testset: %s\n", __func__); \
27 fprintf(stdout, "############## entering %s ##############\n", __func__); \
51#define T_UNIX_GROUP 16
56#define T_NO_UNIX_PREV 21
75#define ANSI_RED "\033[0;31m"
76#define ANSI_GREEN "\033[0;32m"
77#define ANSI_YELLOW "\033[0;33m"
78#define ANSI_BLUE "\033[0;34m"
79#define ANSI_MAGENTA "\033[0;35m"
80#define ANSI_CYAN "\033[0;36m"
81#define ANSI_GREY "\033[0;37m"
82#define ANSI_DARKGREY "\033[01;30m"
83#define ANSI_BRED "\033[01;31m"
84#define ANSI_BGREEN "\033[01;32m"
85#define ANSI_BYELLOW "\033[01;33m"
86#define ANSI_BBLUE "\033[01;34m"
87#define ANSI_BMAGENTA "\033[01;35m"
88#define ANSI_BCYAN "\033[01;36m"
89#define ANSI_WHITE "\033[01;37m"
90#define ANSI_NORMAL "\033[0m"
91#define ANSI_BOLD "\033[1m"
101#define test_failed() test_failed_at(__FILE__, __LINE__)
112extern uint16_t
VolID;
void test_skipped(int why)
Definition testhelper.c:20
uint16_t VolID
Definition afparg.c:38
char * User
Definition afparg.c:48
int SkipCount
Definition afparg.c:63
void test_failed_at(const char *file, int line)
Definition testhelper.c:153
enum ad_format adouble
Definition spectest.c:347
int Throttle
Definition afpclient.c:8
ad_format
Definition testhelper.h:106
@ AD_EA
Definition testhelper.h:107
@ AD_V2
Definition testhelper.h:108
int PassCount
Definition afparg.c:61
void exit_test(char *name)
Definition testhelper.c:195
int Quiet
Definition afpclient.c:11
char Data[]
Definition afparg.c:60
int Interactive
Definition afpclient.c:10
int Color
Definition afpclient.c:13
int Loglevel
Definition afphelper.c:18
char * Test
Definition afparg.c:51
char SkippedTests[1024][256]
Definition afparg.c:67
char * Vol
Definition afparg.c:47
int Verbose
Definition afpclient.c:12
char * Vol2
Definition spectest.c:337
char * Path
Definition lantest.c:106
int Version
Definition afparg.c:49
char * Server
Definition afparg.c:44
int EmptyVol
Definition afparg.c:59
void enter_test(void)
Definition testhelper.c:180
int Locking
Definition spectest.c:345
char NotTestedTests[1024][256]
Definition afparg.c:66
int Mac
Definition afparg.c:58
int NotTestedCount
Definition afparg.c:64
int ExitCode
Definition afparg.c:37
int FailCount
Definition afparg.c:62
char FailedTests[1024][256]
Definition afparg.c:65
void test_nottested(void)
Definition testhelper.c:166