Changeset e672263 in rtems


Ignore:
Timestamp:
11/15/99 21:28:21 (24 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1ae60eb4
Parents:
06380cfe
Message:

Fixed verificaiton checks to call correct macro if dispatch is disabled.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/itrontests/itrontask04/init.c

    r06380cfe re672263  
    5252  puts("INIT - dis_dsp while starting tasks");
    5353  status = dis_dsp( );
    54   directive_failed( status, "dis_dsp from ITRON_Init" ); 
     54
     55  /* dispatching disabled */
     56
     57  directive_failed_with_level( status, "dis_dsp from ITRON_Init", 1 ); 
    5558  status  = sta_tsk( TA1_ID, 0 );
    56   directive_failed( status, "sta_tsk of TA1" );
     59  directive_failed_with_level( status, "sta_tsk of TA1", 1 );
    5760  status  = sta_tsk( TA2_ID, 0 );
    58   directive_failed( status, "sta_tsk of TA2" );
     61  directive_failed_with_level( status, "sta_tsk of TA2", 1 );
    5962  status  = sta_tsk( TA3_ID, 0 );
    60   directive_failed( status, "sta_tsk of TA3" );
     63  directive_failed_with_level( status, "sta_tsk of TA3", 1 );
    6164
    6265  puts( "INIT - suspending TA2 3 times" );
    6366  status = sus_tsk( TA2_ID  );
    64   directive_failed( status, "sus_tsk of TA2" );
     67  directive_failed_with_level( status, "sus_tsk of TA2", 1 );
    6568  status = sus_tsk( TA2_ID  );
    66   directive_failed( status, "sus_tsk of TA2" );
     69  directive_failed_with_level( status, "sus_tsk of TA2", 1 );
    6770  status = sus_tsk( TA2_ID  );
    68   directive_failed( status, "sus_tsk of TA2" );
     71  directive_failed_with_level( status, "sus_tsk of TA2", 1 );
    6972
    7073  puts("INIT - ena_dsp while starting tasks");
    7174  status = ena_dsp( );
     75
     76  /* dispatching enabled again */
    7277
    7378  puts( "INIT - suspending TA1 3 times" );
  • testsuites/itrontests/itrontask04/init.c

    r06380cfe re672263  
    5252  puts("INIT - dis_dsp while starting tasks");
    5353  status = dis_dsp( );
    54   directive_failed( status, "dis_dsp from ITRON_Init" ); 
     54
     55  /* dispatching disabled */
     56
     57  directive_failed_with_level( status, "dis_dsp from ITRON_Init", 1 ); 
    5558  status  = sta_tsk( TA1_ID, 0 );
    56   directive_failed( status, "sta_tsk of TA1" );
     59  directive_failed_with_level( status, "sta_tsk of TA1", 1 );
    5760  status  = sta_tsk( TA2_ID, 0 );
    58   directive_failed( status, "sta_tsk of TA2" );
     61  directive_failed_with_level( status, "sta_tsk of TA2", 1 );
    5962  status  = sta_tsk( TA3_ID, 0 );
    60   directive_failed( status, "sta_tsk of TA3" );
     63  directive_failed_with_level( status, "sta_tsk of TA3", 1 );
    6164
    6265  puts( "INIT - suspending TA2 3 times" );
    6366  status = sus_tsk( TA2_ID  );
    64   directive_failed( status, "sus_tsk of TA2" );
     67  directive_failed_with_level( status, "sus_tsk of TA2", 1 );
    6568  status = sus_tsk( TA2_ID  );
    66   directive_failed( status, "sus_tsk of TA2" );
     69  directive_failed_with_level( status, "sus_tsk of TA2", 1 );
    6770  status = sus_tsk( TA2_ID  );
    68   directive_failed( status, "sus_tsk of TA2" );
     71  directive_failed_with_level( status, "sus_tsk of TA2", 1 );
    6972
    7073  puts("INIT - ena_dsp while starting tasks");
    7174  status = ena_dsp( );
     75
     76  /* dispatching enabled again */
    7277
    7378  puts( "INIT - suspending TA1 3 times" );
Note: See TracChangeset for help on using the changeset viewer.