Changeset 98e4507 in mainline for uspace/app/tester/tester.h
- Timestamp:
- 2011-05-20T01:13:40Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c460cc
- Parents:
- a0bb65af (diff), 326bf65 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/tester.h
ra0bb65af r98e4507 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.