summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include/buffer_test_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/support/include/buffer_test_io.h')
-rw-r--r--testsuites/support/include/buffer_test_io.h6
1 files changed, 6 insertions, 0 deletions
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); \