Changeset 013a5d7 in mainline for uspace/app/tester/tester.h
- Timestamp:
- 2011-05-17T15:13:00Z (12 years ago)
- Branches:
- lfn, master, serial
- Children:
- 38c773e7
- Parents:
- f414851
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/tester.h
rf414851 r013a5d7 46 46 extern char **test_argv; 47 47 48 /** 49 * sizeof_array 50 * @array array to determine the size of 51 * 52 * Returns the size of @array in array elements. 53 */ 54 #define sizeof_array(array) \ 55 (sizeof(array) / sizeof((array)[0])) 56 48 57 #define TPRINTF(format, ...) \ 49 { \58 do { \ 50 59 if (!test_quiet) { \ 51 fprintf(stderr, format, ##__VA_ARGS__); \60 fprintf(stderr, (format), ##__VA_ARGS__); \ 52 61 } \ 53 } 62 } while (0) 54 63 55 64 typedef const char *(*test_entry_t)(void); … … 79 88 extern const char *test_malloc1(void); 80 89 extern const char *test_malloc2(void); 90 extern const char *test_malloc3(void); 81 91 extern const char *test_serial1(void); 82 92 extern const char *test_virtchar1(void);
Note: See TracChangeset
for help on using the changeset viewer.