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.
	* cpuuse/task2.c, malloctest/task1.c, putenvtest/init.c,
	rtmonuse/task1.c, termios/init.c: Modified.
This commit is contained in:
Joel Sherrill
2002-08-02 00:55:27 +00:00
parent 0428ddf33e
commit 016a926def
12 changed files with 52 additions and 24 deletions

View File

@@ -43,5 +43,5 @@ rtems_task Task_2(
showTaskSwitches ();
CPU_usage_Dump();
puts( "*** END OF CPU USAGE LIBRARY TEST ***" );
exit( 0 );
rtems_test_exit( 0 );
}