diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-02 00:53:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-02 00:53:54 +0000 |
commit | 0428ddf33ecf04619a8bc8839102d6553b662191 (patch) | |
tree | a7be6495cb9ddf848bd9809aee4b51d6c646008e /c/src/tests/tmitrontests/tmitronsem01/init.c | |
parent | 2002-08-01 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-0428ddf33ecf04619a8bc8839102d6553b662191.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.
* tmitronsem01/init.c: Modified.
Diffstat (limited to 'c/src/tests/tmitrontests/tmitronsem01/init.c')
-rw-r--r-- | c/src/tests/tmitrontests/tmitronsem01/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/tmitrontests/tmitronsem01/init.c b/c/src/tests/tmitrontests/tmitronsem01/init.c index 1428d5ce5d..8fe0f63fbc 100644 --- a/c/src/tests/tmitrontests/tmitronsem01/init.c +++ b/c/src/tests/tmitrontests/tmitronsem01/init.c @@ -140,5 +140,5 @@ void ITRON_Init( void ) printf( "*** END OF TMITRON01 -- ITRON TIMING TEST ***\n" ); - exit( 0 ); + rtems_test_exit( 0 ); } |