From 07bc30bc25437b7e83aa8823bef68b581f0fde41 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 17 Nov 2006 22:40:28 +0000 Subject: 2006-11-17 Joel Sherrill * itrontask04/init.c, itrontask04/itrontask04.scn: Cannot print with dispatching disabled so fix test not to print while dispatching is disabled. --- testsuites/itrontests/ChangeLog | 6 ++++++ testsuites/itrontests/itrontask04/init.c | 9 +++++---- testsuites/itrontests/itrontask04/itrontask04.scn | 5 ++--- 3 files changed, 13 insertions(+), 7 deletions(-) (limited to 'testsuites/itrontests') diff --git a/testsuites/itrontests/ChangeLog b/testsuites/itrontests/ChangeLog index e6bbd23d5d..53bb786604 100644 --- a/testsuites/itrontests/ChangeLog +++ b/testsuites/itrontests/ChangeLog @@ -1,3 +1,9 @@ +2006-11-17 Joel Sherrill + + * itrontask04/init.c, itrontask04/itrontask04.scn: Cannot print with + dispatching disabled so fix test not to print while dispatching is + disabled. + 2006-10-17 Ralf Corsépius * configure.ac: Require autoconf-2.60. Require automake-1.10. 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 -- cgit v1.2.3