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.
This commit is contained in:
Joel Sherrill
2002-08-02 00:53:38 +00:00
parent d8024895e3
commit 6b9d16fc27
20 changed files with 44 additions and 18 deletions

View File

@@ -328,5 +328,5 @@ void ITRON_Init( void )
assert( status == E_OK );
printf( "*** END OF ITRONSEM01 -- ITRON SEMAPHORE TEST ***\n" );
exit( 0 );
rtems_test_exit( 0 );
}