From 116845e8ad398403256229e035417a8d508abf9f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 2 Aug 2002 00:53:03 +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. * mp01/task1.c, mp02/task1.c, mp03/task1.c, mp04/task1.c, mp05/task1.c, mp06/task1.c, mp07/task1.c, mp08/task1.c, mp09/task1.c, mp10/init.c, mp11/init.c, mp12/init.c, mp13/init.c, mp13/task2.c: Modified. --- c/src/tests/mptests/mp03/task1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/tests/mptests/mp03/task1.c') diff --git a/c/src/tests/mptests/mp03/task1.c b/c/src/tests/mptests/mp03/task1.c index 7645619e8a..ebad136dca 100644 --- a/c/src/tests/mptests/mp03/task1.c +++ b/c/src/tests/mptests/mp03/task1.c @@ -150,5 +150,5 @@ rtems_task Test_task( Test_Task_Support( 2 ); puts( "*** END OF TEST 3 ***" ); - exit( 0 ); + rtems_test_exit( 0 ); } -- cgit v1.2.3