diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-12-16 23:36:06 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-12-16 23:36:06 +0000 |
commit | 13c8768132971180f78673b5655a43c7ea797f89 (patch) | |
tree | ccbd492888adca5f3687e280be6e6bd4d3364cf5 /testsuites/support | |
parent | 2003-12-16 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-13c8768132971180f78673b5655a43c7ea797f89.tar.bz2 |
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.
Diffstat (limited to 'testsuites/support')
-rw-r--r-- | testsuites/support/ChangeLog | 6 | ||||
-rw-r--r-- | testsuites/support/include/buffer_test_io.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuites/support/ChangeLog b/testsuites/support/ChangeLog index 9be7145126..a66c2656ea 100644 --- a/testsuites/support/ChangeLog +++ b/testsuites/support/ChangeLog @@ -1,3 +1,9 @@ +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. + 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. diff --git a/testsuites/support/include/buffer_test_io.h b/testsuites/support/include/buffer_test_io.h index f4bb2333d4..4fd016df6f 100644 --- a/testsuites/support/include/buffer_test_io.h +++ b/testsuites/support/include/buffer_test_io.h @@ -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); \ |