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__); \
49#define T_UNIX_GROUP 16
54#define T_NO_UNIX_PREV 21
74#define ANSI_RED "\033[0;31m"
75#define ANSI_GREEN "\033[0;32m"
76#define ANSI_YELLOW "\033[0;33m"
77#define ANSI_BLUE "\033[0;34m"
78#define ANSI_MAGENTA "\033[0;35m"
79#define ANSI_CYAN "\033[0;36m"
80#define ANSI_GREY "\033[0;37m"
81#define ANSI_DARKGREY "\033[01;30m"
82#define ANSI_BRED "\033[01;31m"
83#define ANSI_BGREEN "\033[01;32m"
84#define ANSI_BYELLOW "\033[01;33m"
85#define ANSI_BBLUE "\033[01;34m"
86#define ANSI_BMAGENTA "\033[01;35m"
87#define ANSI_BCYAN "\033[01;36m"
88#define ANSI_WHITE "\033[01;37m"
89#define ANSI_NORMAL "\033[0m"
90#define ANSI_BOLD "\033[1m"
100#define test_failed() test_failed_at(__FILE__, __LINE__)
111extern uint16_t
VolID;
void test_skipped(int why)
Definition testhelper.c:24
uint16_t VolID
Definition afparg.c:51
char * User
Definition afparg.c:61
int SkipCount
Definition afparg.c:77
void test_failed_at(const char *file, int line)
Definition testhelper.c:162
enum ad_format adouble
Definition spectest.c:363
int Throttle
Definition afpclient.c:13
ad_format
Definition testhelper.h:105
@ AD_EA
Definition testhelper.h:106
@ AD_V2
Definition testhelper.h:107
int PassCount
Definition afparg.c:75
void exit_test(char *name)
Definition testhelper.c:209
int Quiet
Definition afpclient.c:16
char Data[]
Definition afparg.c:74
int Interactive
Definition afpclient.c:15
int Color
Definition afpclient.c:18
int Loglevel
Definition afphelper.c:18
char * Test
Definition afparg.c:64
char SkippedTests[1024][256]
Definition afparg.c:81
char * Vol
Definition afparg.c:60
int Verbose
Definition afpclient.c:17
char * Vol2
Definition spectest.c:353
char * Path
Definition lantest.c:114
int Version
Definition afparg.c:62
char * Server
Definition afparg.c:57
int EmptyVol
Definition afparg.c:73
void enter_test(void)
Definition testhelper.c:190
int Locking
Definition spectest.c:361
char NotTestedTests[1024][256]
Definition afparg.c:80
int Mac
Definition afparg.c:72
int NotTestedCount
Definition afparg.c:78
int ExitCode
Definition afparg.c:50
int FailCount
Definition afparg.c:76
char FailedTests[1024][256]
Definition afparg.c:79
void test_nottested(void)
Definition testhelper.c:176