Changes in uspace/app/tester/tester.h [3e4f2e0:d362410] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/tester.h
r3e4f2e0 rd362410 38 38 #include <sys/types.h> 39 39 #include <bool.h> 40 #include <stacktrace.h> 40 41 41 42 #define IPC_TEST_SERVICE 10240 … … 46 47 extern char **test_argv; 47 48 49 /** 50 * sizeof_array 51 * @array array to determine the size of 52 * 53 * Returns the size of @array in array elements. 54 */ 55 #define sizeof_array(array) \ 56 (sizeof(array) / sizeof((array)[0])) 57 48 58 #define TPRINTF(format, ...) \ 49 { \59 do { \ 50 60 if (!test_quiet) { \ 51 fprintf(stderr, format, ##__VA_ARGS__); \61 fprintf(stderr, (format), ##__VA_ARGS__); \ 52 62 } \ 53 } 63 } while (0) 64 65 #define TSTACKTRACE() \ 66 do { \ 67 if (!test_quiet) { \ 68 stacktrace_print(); \ 69 } \ 70 } while (0) 54 71 55 72 typedef const char *(*test_entry_t)(void); … … 78 95 extern const char *test_loop1(void); 79 96 extern const char *test_malloc1(void); 80 extern const char *test_mapping1(void); 97 extern const char *test_malloc2(void); 98 extern const char *test_malloc3(void); 81 99 extern const char *test_serial1(void); 82 100 extern const char *test_virtchar1(void); 83 101 extern const char *test_devman1(void); 102 extern const char *test_devman2(void); 84 103 85 104 extern test_t tests[];
Note:
See TracChangeset
for help on using the changeset viewer.