Changes in uspace/app/tester/tester.h [d362410:3e4f2e0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/tester.h
rd362410 r3e4f2e0 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); 80 extern const char *test_mapping1(void); 99 81 extern const char *test_serial1(void); 100 82 extern const char *test_virtchar1(void); 101 83 extern const char *test_devman1(void); 102 extern const char *test_devman2(void);103 84 104 85 extern test_t tests[];
Note:
See TracChangeset
for help on using the changeset viewer.