Changeset abd29cb9 in rtems


Ignore:
Timestamp:
May 6, 2011, 5:29:35 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
aecbde54
Parents:
3cefd8f
Message:

2011-05-06 Joel Sherrill <joel.sherrill@…>

  • sp39/init.c: Fix tests broken in warning pass.
Location:
testsuites/sptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r3cefd8f rabd29cb9  
     12011-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * sp39/init.c: Fix tests broken in warning pass.
     4
    152011-05-06      Sebastian Huber <sebastian.huber@embedded-brains.de>
    26
  • testsuites/sptests/sp39/init.c

    r3cefd8f rabd29cb9  
    1818#define CONFIGURE_INIT
    1919#include "system.h"
     20
     21/*
     22 *  ERROR CHECKING NOTE:
     23 *
     24 *  We are either at dispatch disable level 1 or 2.  Either way, it is
     25 *  safer not to check the dispatch level explicitly so we are using
     26 *  fatal_directive_check_status_only() not directive_failed().
     27 */
    2028
    2129rtems_timer_service_routine test_event_from_isr(
     
    4654     */
    4755    status = rtems_event_send( other_task, 0x02 );
    48     directive_failed( status, "event send" );
     56    fatal_directive_check_status_only( status, RTEMS_SUCCESSFUL, "event send" );
    4957
    5058    /*
     
    5361     */
    5462    status = rtems_event_send( main_task, 0x02 );
    55     directive_failed( status, "event send" );
     63    fatal_directive_check_status_only( status, RTEMS_SUCCESSFUL, "event send" );
    5664
    5765    case_hit = TRUE;
    5866  }
    5967  status = rtems_event_send( main_task, 0x01 );
    60   directive_failed( status, "event send" );
     68  fatal_directive_check_status_only( status, RTEMS_SUCCESSFUL, "event send" );
    6169}
    6270
     
    7684  }
    7785  status = rtems_event_send( main_task, 0x01 );
    78   directive_failed( status, "event send" );
     86  fatal_directive_check_status_only( status, RTEMS_SUCCESSFUL, "event send" );
    7987}
    8088
Note: See TracChangeset for help on using the changeset viewer.