mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 06:54:41 +08:00
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:
@@ -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.
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -576,5 +576,5 @@ XXXXX - FIX ME
|
||||
#endif
|
||||
|
||||
puts( "*** END OF ITRON TASK TEST 2 ***" );
|
||||
exit( 0 );
|
||||
rtems_test_exit( 0 );
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -48,6 +48,6 @@ void Task_3()
|
||||
}
|
||||
|
||||
puts( "*** ITRON TASK TEST 4 ***" );
|
||||
exit( 0 );
|
||||
rtems_test_exit( 0 );
|
||||
}
|
||||
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -576,5 +576,5 @@ XXXXX - FIX ME
|
||||
#endif
|
||||
|
||||
puts( "*** END OF ITRON TASK TEST 2 ***" );
|
||||
exit( 0 );
|
||||
rtems_test_exit( 0 );
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -48,6 +48,6 @@ void Task_3()
|
||||
}
|
||||
|
||||
puts( "*** ITRON TASK TEST 4 ***" );
|
||||
exit( 0 );
|
||||
rtems_test_exit( 0 );
|
||||
}
|
||||
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user