From e672263c39d2a24b15d46fce255d12176b8d0311 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Mon, 15 Nov 1999 21:28:21 +0000 Subject: Fixed verificaiton checks to call correct macro if dispatch is disabled. --- testsuites/itrontests/itrontask04/init.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'testsuites') 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" ); -- cgit v1.2.3