Changeset f96cb0b in rtems


Ignore:
Timestamp:
Nov 7, 2001, 11:08:40 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6b7d2531
Parents:
2444583
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().
Files:
2 edited

Legend:

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

    r2444583 rf96cb0b  
    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
  • testsuites/support/include/tmacros.h

    r2444583 rf96cb0b  
    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.