diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-11-15 21:28:21 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-11-15 21:28:21 +0000 |
commit | e672263c39d2a24b15d46fce255d12176b8d0311 (patch) | |
tree | 2e1dd2dbbabf8759872478f2b9a63027465fa0b4 /testsuites/itrontests/itrontask04 | |
parent | + Added check that a task could be sent to a dormant state (diff) | |
download | rtems-e672263c39d2a24b15d46fce255d12176b8d0311.tar.bz2 |
Fixed verificaiton checks to call correct macro if dispatch is disabled.
Diffstat (limited to 'testsuites/itrontests/itrontask04')
-rw-r--r-- | testsuites/itrontests/itrontask04/init.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/testsuites/itrontests/itrontask04/init.c b/testsuites/itrontests/itrontask04/init.c index 1adc36cf67..5b83347537 100644 --- a/testsuites/itrontests/itrontask04/init.c +++ b/testsuites/itrontests/itrontask04/init.c @@ -51,25 +51,30 @@ void ITRON_Init( void ) puts("INIT - dis_dsp while starting tasks"); status = dis_dsp( ); - directive_failed( status, "dis_dsp from ITRON_Init" ); + + /* dispatching disabled */ + + directive_failed_with_level( status, "dis_dsp from ITRON_Init", 1 ); status = sta_tsk( TA1_ID, 0 ); - directive_failed( status, "sta_tsk of TA1" ); + directive_failed_with_level( status, "sta_tsk of TA1", 1 ); status = sta_tsk( TA2_ID, 0 ); - directive_failed( status, "sta_tsk of TA2" ); + directive_failed_with_level( status, "sta_tsk of TA2", 1 ); status = sta_tsk( TA3_ID, 0 ); - directive_failed( status, "sta_tsk of TA3" ); + directive_failed_with_level( status, "sta_tsk of TA3", 1 ); puts( "INIT - suspending TA2 3 times" ); status = sus_tsk( TA2_ID ); - directive_failed( status, "sus_tsk of TA2" ); + directive_failed_with_level( status, "sus_tsk of TA2", 1 ); status = sus_tsk( TA2_ID ); - directive_failed( status, "sus_tsk of TA2" ); + directive_failed_with_level( status, "sus_tsk of TA2", 1 ); status = sus_tsk( TA2_ID ); - directive_failed( status, "sus_tsk of TA2" ); + directive_failed_with_level( status, "sus_tsk of TA2", 1 ); puts("INIT - ena_dsp while starting tasks"); status = ena_dsp( ); + /* dispatching enabled again */ + puts( "INIT - suspending TA1 3 times" ); status = sus_tsk( TA1_ID ); directive_failed( status, "sus_tsk of TA2" ); |