From 13c8768132971180f78673b5655a43c7ea797f89 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Dec 2003 23:36:06 +0000 Subject: 2003-12-16 Joel Sherrill PR 544/tests * include/buffer_test_io.h: Various modifications to make tests account for resources and not print at inappropriate times. --- testsuites/support/include/buffer_test_io.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testsuites/support/include/buffer_test_io.h') 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); \ -- cgit v1.2.3