2006-11-17 Joel Sherrill <joel@OARcorp.com>

* itrontask04/init.c, itrontask04/itrontask04.scn: Cannot print with
	dispatching disabled so fix test not to print while dispatching is
	disabled.
This commit is contained in:
Joel Sherrill
2006-11-17 22:40:12 +00:00
parent 8c3ab9fcd8
commit a1d09f90b5
3 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +1,9 @@
2006-11-17 Joel Sherrill <joel@OARcorp.com>
* itrontask04/init.c, itrontask04/itrontask04.scn: Cannot print with
dispatching disabled so fix test not to print while dispatching is
disabled.
2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Require autoconf-2.60.

View File

@@ -55,7 +55,7 @@ void ITRON_Init( void )
puts("INIT - dis_dsp while starting tasks");
status = dis_dsp( );
/* dispatching disabled */
/* dispatching disabled -- NOT LEGAL TO PRINT UNTIL ENABLED */
directive_failed_with_level( status, "dis_dsp from ITRON_Init", 1 );
status = sta_tsk( TA1_ID, 0 );
@@ -65,7 +65,7 @@ void ITRON_Init( void )
status = sta_tsk( TA3_ID, 0 );
directive_failed_with_level( status, "sta_tsk of TA3", 1 );
puts( "INIT - suspending TA2 3 times" );
/* puts( "INIT - suspending TA2 3 times" ); */
status = sus_tsk( TA2_ID );
directive_failed_with_level( status, "sus_tsk of TA2", 1 );
status = sus_tsk( TA2_ID );
@@ -73,10 +73,11 @@ void ITRON_Init( void )
status = sus_tsk( TA2_ID );
directive_failed_with_level( status, "sus_tsk of TA2", 1 );
puts("INIT - ena_dsp while starting tasks");
status = ena_dsp( );
/* dispatching enabled again */
/* dispatching enabled -- LEGAL TO PRINT AGAIN */
puts("INIT - ena_dsp after starting tasks");
puts( "INIT - suspending TA1 3 times" );
status = sus_tsk( TA1_ID );

View File

@@ -1,12 +1,11 @@
*** ITRON TASK TEST 4 ***
** ITRON TASK TEST 4 ***
INIT - dis_dsp while starting tasks
INIT - suspending TA2 3 times
INIT - ena_dsp while starting tasks
TA3 - frsm_tsk TA1
TA3 - rsm_tsk TA2
TA3 - rot_rdq priority 2 queue
TA3 - rtems_task_wake_after - sleep 1 second
TA2 - rtems_task_suspend RTEMS_SELF
INIT - ena_dsp after starting tasks
INIT - suspending TA1 3 times
INIT - exd_tsk
TA3 - frsm_tsk TA1