diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-11-17 22:40:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-11-17 22:40:12 +0000 |
commit | a1d09f90b538a6c13bbbf62369495ee91c3a761f (patch) | |
tree | eb9838a980a20fea4e7dad637b3b528dadcfdd61 /testsuites | |
parent | 2006-11-17 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-a1d09f90b538a6c13bbbf62369495ee91c3a761f.tar.bz2 |
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.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/itrontests/ChangeLog | 6 | ||||
-rw-r--r-- | testsuites/itrontests/itrontask04/init.c | 9 | ||||
-rw-r--r-- | testsuites/itrontests/itrontask04/itrontask04.scn | 5 |
3 files changed, 13 insertions, 7 deletions
diff --git a/testsuites/itrontests/ChangeLog b/testsuites/itrontests/ChangeLog index d95b3bd45a..aea70efeec 100644 --- a/testsuites/itrontests/ChangeLog +++ b/testsuites/itrontests/ChangeLog @@ -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. diff --git a/testsuites/itrontests/itrontask04/init.c b/testsuites/itrontests/itrontask04/init.c index b5200e7986..4df6188a29 100644 --- a/testsuites/itrontests/itrontask04/init.c +++ b/testsuites/itrontests/itrontask04/init.c @@ -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 ); diff --git a/testsuites/itrontests/itrontask04/itrontask04.scn b/testsuites/itrontests/itrontask04/itrontask04.scn index 76959b88c0..c0680a5f6e 100644 --- a/testsuites/itrontests/itrontask04/itrontask04.scn +++ b/testsuites/itrontests/itrontask04/itrontask04.scn @@ -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 |