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
+13
View File
@@ -1,3 +1,16 @@
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.
2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
+1 -1
View File
@@ -29,5 +29,5 @@ void ITRON_Init( void )
printf( "\n\n*** ITRON HELLO WORLD TEST ***\n" );
printf( "Hello World\n" );
printf( "*** END OF ITRON HELLO WORLD TEST ***\n" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -30,7 +30,7 @@ void ITRON_Init( void )
printf( "\n\n*** ITRON MBOX TEST 01 ***\n" );
printf( "ITRON Mailboxes are implemented but there is currently no test.\n" );
printf( "*** END OF ITRON MBOX TEST 01 ***\n" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
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 );
}
+1 -1
View File
@@ -41,7 +41,7 @@ void Task_2_through_4()
if ( time.second >= 35 ) {
puts( "*** END OF ITRON TASK TEST 1 ***" );
exit( 0 );
rtems_test_exit( 0 );
}
printf(name);
+1 -1
View File
@@ -576,5 +576,5 @@ XXXXX - FIX ME
#endif
puts( "*** END OF ITRON TASK TEST 2 ***" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
View File
@@ -53,5 +53,5 @@ void Task_1()
directive_failed( status, "rtems_task_wake_after" );
puts( "*** ITRON TASK TEST 3 ***" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
View File
@@ -48,6 +48,6 @@ void Task_3()
}
puts( "*** ITRON TASK TEST 4 ***" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
View File
@@ -56,7 +56,7 @@ void ITRON_Init( void )
printf( "\n\n*** ITRON TIME TEST 01 ***\n" );
printf( "The Time Services are not completely implemented.\n" );
printf( "*** END OF ITRON TIME TEST 01 ***\n" );
exit( 0 );
rtems_test_exit( 0 );
}
+13
View File
@@ -1,3 +1,16 @@
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.
2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
+1 -1
View File
@@ -29,5 +29,5 @@ void ITRON_Init( void )
printf( "\n\n*** ITRON HELLO WORLD TEST ***\n" );
printf( "Hello World\n" );
printf( "*** END OF ITRON HELLO WORLD TEST ***\n" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -30,7 +30,7 @@ void ITRON_Init( void )
printf( "\n\n*** ITRON MBOX TEST 01 ***\n" );
printf( "ITRON Mailboxes are implemented but there is currently no test.\n" );
printf( "*** END OF ITRON MBOX TEST 01 ***\n" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
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 );
}
+1 -1
View File
@@ -41,7 +41,7 @@ void Task_2_through_4()
if ( time.second >= 35 ) {
puts( "*** END OF ITRON TASK TEST 1 ***" );
exit( 0 );
rtems_test_exit( 0 );
}
printf(name);
+1 -1
View File
@@ -576,5 +576,5 @@ XXXXX - FIX ME
#endif
puts( "*** END OF ITRON TASK TEST 2 ***" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
View File
@@ -53,5 +53,5 @@ void Task_1()
directive_failed( status, "rtems_task_wake_after" );
puts( "*** ITRON TASK TEST 3 ***" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
View File
@@ -48,6 +48,6 @@ void Task_3()
}
puts( "*** ITRON TASK TEST 4 ***" );
exit( 0 );
rtems_test_exit( 0 );
}
+1 -1
View File
@@ -56,7 +56,7 @@ void ITRON_Init( void )
printf( "\n\n*** ITRON TIME TEST 01 ***\n" );
printf( "The Time Services are not completely implemented.\n" );
printf( "*** END OF ITRON TIME TEST 01 ***\n" );
exit( 0 );
rtems_test_exit( 0 );
}