From b454bc9149f2baa313976cae4fa5f7e14dac218b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 2 Aug 2002 00:52:37 +0000 Subject: 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. --- testsuites/tmtests/include/timesys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/tmtests/include/timesys.h') 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) \ -- cgit v1.2.3