path: root/testsuites/tmtests/include
diff options
authorJoel Sherrill <>2002-08-02 00:52:37 +0000
committerJoel Sherrill <>2002-08-02 00:52:37 +0000
commitb454bc9149f2baa313976cae4fa5f7e14dac218b (patch)
tree7079d4779f4366170d332ba447645bf9fc143b4d /testsuites/tmtests/include
parent3aa4c2e0cec61dc0673d3b0ef40a124f64d917e0 (diff)
2002-08-01 Joel Sherrill <>
* Per PR47 add support for buffered test output. This involved adding defines to redirect output to a buffer and dump it when full, at "test pause", and at exit. To avoid problems when redefining exit(), all tests were modified to call rtems_test_exit(). Some tests, notable psxtests, had to be modified to include the standard test macro .h file (pmacros.h or tmacros.h) to enable this support. * include/timesys.h, tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c, tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c, tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c, tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c, tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c, tmoverhd/testtask.c: Modified.
Diffstat (limited to 'testsuites/tmtests/include')
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/tmtests/include/timesys.h b/testsuites/tmtests/include/timesys.h
index 5c21ae5d68..b2b6ac870f 100644
--- a/testsuites/tmtests/include/timesys.h
+++ b/testsuites/tmtests/include/timesys.h
@@ -35,7 +35,7 @@
#define put_time( _message, _total_time, \
_iterations, _loop_overhead, _overhead ) \
- fprintf( stderr, \
+ printf( \
"%s %d\n", \
(_message), \
(((_total_time) - (_loop_overhead)) / (_iterations)) - (_overhead) \