diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-02 00:53:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-02 00:53:03 +0000 |
commit | 116845e8ad398403256229e035417a8d508abf9f (patch) | |
tree | dfe1593dfaa436be3053f83a5c0f26c36b442184 /testsuites/mptests/mp08 | |
parent | 2002-08-01 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-116845e8ad398403256229e035417a8d508abf9f.tar.bz2 |
2002-08-01 Joel Sherrill <joel@OARcorp.com>
* 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.
Diffstat (limited to 'testsuites/mptests/mp08')
-rw-r--r-- | testsuites/mptests/mp08/task1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/mptests/mp08/task1.c b/testsuites/mptests/mp08/task1.c index b45936c95b..0aab711f85 100644 --- a/testsuites/mptests/mp08/task1.c +++ b/testsuites/mptests/mp08/task1.c @@ -65,7 +65,7 @@ rtems_task Test_task( ); puts( "\nGlobal semaphore deleted" ); puts( "*** END OF TEST 8 ***" ); - exit( 0 ); + rtems_test_exit( 0 ); } if ( Multiprocessing_configuration.node == 1 && ++count == 1000 ) { @@ -77,7 +77,7 @@ rtems_task Test_task( directive_failed( status, "rtems_semaphore_delete" ); puts( "*** END OF TEST 8 ***" ); - exit( 0 ); + rtems_test_exit( 0 ); } else { put_dot( 'v' ); |