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