forked from Imagelibrary/rtems
2003-12-16 Joel Sherrill <joel@OARcorp.com>
PR 544/tests * include/buffer_test_io.h: Various modifications to make tests account for resources and not print at inappropriate times.
This commit is contained in:
@@ -22,6 +22,12 @@ extern "C" {
|
||||
|
||||
#if !defined(TESTS_BUFFER_OUTPUT)
|
||||
|
||||
#undef printf
|
||||
#define printf(...) \
|
||||
do { \
|
||||
iprintf( __VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
#define rtems_test_exit(_s) \
|
||||
do { \
|
||||
exit(_s); \
|
||||
|
||||
Reference in New Issue
Block a user