(file) Return to standalone.h CVS log (file) (dir) Up to [RizwankCVS] / group3 / wine / dlls / cabinet / tests

 1 rizwank 2.1 #include <assert.h> 
 2             
 3             #define START_TEST(name) main(int argc, char **argv)
 4             #define ok(condition, msg)    \
 5                 do { if(!(condition)) {  \
 6                     fprintf(stderr,"failed at %d, msg:" msg "\n",__LINE__); \
 7                 exit(1);    \
 8                 } } while(0)
 9             
10             #define ok2(condition, msg, arg) \
11                 do { if(!(condition)) {  \
12                     fprintf(stderr,"failed at %d, msg:" msg "\n",__LINE__, arg); \
13                 exit(1);    \
14                 } } while(0)
15             #define todo_wine
16             
17             static void trace(const char *s, ...)
18             {
19                 va_list ellipsis;
20                 va_start (ellipsis, s);
21             #ifdef VERBOSE
22 rizwank 2.1     vprintf(s, ellipsis);
23             #endif    
24                 va_end(ellipsis);
25             }

Rizwan Kassim
Powered by
ViewCVS 0.9.2