summaryrefslogtreecommitdiffstats
path: root/testsuites/itrontests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-11-17 22:40:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-11-17 22:40:28 +0000
commit07bc30bc25437b7e83aa8823bef68b581f0fde41 (patch)
tree6f3bf37d130fa6f6fb9d38cdb6c2a07e822595eb /testsuites/itrontests
parentRegenerate. (diff)
downloadrtems-07bc30bc25437b7e83aa8823bef68b581f0fde41.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/itrontests')
-rw-r--r--testsuites/itrontests/ChangeLog6
-rw-r--r--testsuites/itrontests/itrontask04/init.c9
-rw-r--r--testsuites/itrontests/itrontask04/itrontask04.scn5
3 files changed, 13 insertions, 7 deletions
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 <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-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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