diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-02 00:53:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-02 00:53:38 +0000 |
commit | 6b9d16fc2701c0f4f481a12657d4318950b0d75a (patch) | |
tree | 8b22d04e6d616f4b28bedcbfe586db88615e91b0 /c/src/tests/itrontests/itronmbf01 | |
parent | 2002-08-01 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-6b9d16fc2701c0f4f481a12657d4318950b0d75a.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.
* itronhello/init.c, itronmbf01/init.c, itronmbox01/init.c,
itronsem01/init.c, itrontask01/task1.c, itrontask02/init.c,
itrontask03/task1.c, itrontask04/task3.c, itrontime01/init.c: Modified.
Diffstat (limited to 'c/src/tests/itrontests/itronmbf01')
-rw-r--r-- | c/src/tests/itrontests/itronmbf01/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/itrontests/itronmbf01/init.c b/c/src/tests/itrontests/itronmbf01/init.c index 3c2714a35f..575d1b61f2 100644 --- a/c/src/tests/itrontests/itronmbf01/init.c +++ b/c/src/tests/itrontests/itronmbf01/init.c @@ -62,7 +62,7 @@ void ITRON_Init( void ) TestTrcv(); printf("\n\n*** ITRONMBF01 --- ITRON MESSAGE BUFFER TEST ***\n"); - exit(0); + rtems_test_exit(0); } void TestCre() |