forked from Imagelibrary/rtems
2003-12-16 Joel Sherrill <joel@OARcorp.com>
PR 544/tests * sp07/Makefile.am, sp07/init.c, sp07/system.h, sp07/task4.c, sp07/tcreate.c, sp07/tdelete.c, sp07/trestart.c, sp07/tstart.c, sp09/system.h, sp19/system.h, sp20/system.h: Various modifications to make tests account for resources and not print at inappropriate times. * sp07/buffered_io.c: New file.
This commit is contained in:
@@ -43,6 +43,8 @@ rtems_task Init(
|
||||
|
||||
puts( "\n\n*** TEST 7 ***" );
|
||||
|
||||
buffered_io_initialize();
|
||||
|
||||
Extension_name[ 1 ] = rtems_build_name( 'E', 'X', 'T', ' ' );
|
||||
|
||||
status = rtems_extension_create(
|
||||
@@ -112,6 +114,8 @@ rtems_task Init(
|
||||
status = rtems_task_restart( Task_id[ 3 ], 0 );
|
||||
directive_failed( status, "rtems_task_restart of TA3" );
|
||||
|
||||
buffered_io_flush();
|
||||
|
||||
status = rtems_task_set_note( Task_id[ 1 ], RTEMS_NOTEPAD_8, 4 );
|
||||
directive_failed( status, "task_set_node of TA1" );
|
||||
printf( "INIT - rtems_task_set_note - set TA1's RTEMS_NOTEPAD_8 " );
|
||||
|
||||
Reference in New Issue
Block a user