Changeset ec1e4f4 in rtems


Ignore:
Timestamp:
Nov 7, 2001, 11:07:32 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
3fe8f44b
Parents:
f8831328
Message:

2001-11-07 Joel Sherrill <joel@…>

Tracked as PR72 but related to the object id problem (PR36)
reported by Todor.Todorov@….

  • include/tmacros.h: Added fatal_directive_check_status_only().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/support/include/tmacros.h

    rf8831328 rec1e4f4  
    6363  fatal_directive_status_with_level( _stat, _desired, _msg, 0 )
    6464
    65 #define fatal_directive_status_with_level( _stat, _desired, _msg, _level ) \
    66   do { \
    67     check_dispatch_disable_level( _level ); \
     65#define fatal_directive_check_status_only( _stat, _desired, _msg ) \
     66  do { \
    6867    if ( (_stat) != (_desired) ) { \
    6968      printf( "\n%s FAILED -- expected (%s) got (%s)\n", \
     
    7271      exit( _stat ); \
    7372    } \
     73  } while ( 0 )
     74
     75#define fatal_directive_status_with_level( _stat, _desired, _msg, _level ) \
     76  do { \
     77    check_dispatch_disable_level( _level ); \
     78    fatal_directive_check_status_only( _stat, _desired, _msg ); \
    7479  } while ( 0 )
    7580
Note: See TracChangeset for help on using the changeset viewer.