summaryrefslogtreecommitdiffstats
path: root/c/src/tests/tmitrontests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-02 00:53:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-02 00:53:54 +0000
commit0428ddf33ecf04619a8bc8839102d6553b662191 (patch)
treea7be6495cb9ddf848bd9809aee4b51d6c646008e /c/src/tests/tmitrontests
parent2002-08-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-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')
-rw-r--r--c/src/tests/tmitrontests/ChangeLog11
-rw-r--r--c/src/tests/tmitrontests/tmitronsem01/init.c2
2 files changed, 12 insertions, 1 deletions
diff --git a/c/src/tests/tmitrontests/ChangeLog b/c/src/tests/tmitrontests/ChangeLog
index ff3c257f72..ecee2f4a2a 100644
--- a/c/src/tests/tmitrontests/ChangeLog
+++ b/c/src/tests/tmitrontests/ChangeLog
@@ -1,3 +1,14 @@
+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.
+
2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
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 );
}