Changeset d0f47c22 in rtems for testsuites/support


Ignore:
Timestamp:
Oct 27, 2009, 8:12:25 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
f15fc6a
Parents:
acf5212
Message:

2009-10-27 Ralf Corsépius <ralf.corsepius@…>

  • support/include/tmacros.h: Add PRIxrtems_event_set. (fatal_posix_service_status_errno) Add local "long" var "statx".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/support/include/tmacros.h

    racf5212 rd0f47c22  
    106106#define fatal_posix_service_status_errno( _stat, _desired, _msg ) \
    107107  if ( (_stat != -1) && (errno) != (_desired) ) { \
     108    long statx = _stat; \
    108109    check_dispatch_disable_level( 0 ); \
    109     printf( "\n%s FAILED -- expected (%d - %s) got (%d %d - %s)\n", \
     110    printf( "\n%s FAILED -- expected (%d - %s) got (%ld %d - %s)\n", \
    110111            (_msg), _desired, strerror(_desired), \
    111             _stat, errno, strerror(errno) ); \
     112            statx, errno, strerror(errno) ); \
    112113    FLUSH_OUTPUT(); \
    113114    rtems_test_exit( _stat ); \
     
    279280#define PRIdrtems_task_argument PRIdThread_Entry_numeric_type
    280281
     282/* rtems_event_set is a typedef to unit32_t */
     283#define PRIxrtems_event_set     PRIx32
     284
    281285#ifdef __cplusplus
    282286}
Note: See TracChangeset for help on using the changeset viewer.