Changeset 413043b7 in rtems


Ignore:
Timestamp:
08/16/01 19:42:02 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a5c0402c
Parents:
94dfe0f7
Message:

2001-08-16 Joel Sherrill <joel@…>

  • include/tmacros.h: Attempt to print errno as further information.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/support/ChangeLog

    r94dfe0f7 r413043b7  
     12001-08-16      Joel Sherrill <joel@OARcorp.com>
     2
     3        * include/tmacros.h: Attempt to print errno as further information.
     4
    152001-05-10      Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
    26
  • c/src/tests/support/include/tmacros.h

    r94dfe0f7 r413043b7  
    9292    check_dispatch_disable_level( _level ); \
    9393    if ( (_stat) != (_desired) ) { \
    94       printf( "\n%s FAILED -- expected (%s) got (%s)\n", \
    95               (_msg), strerror(_desired), strerror(_stat) ); \
     94      printf( "\n%s FAILED -- expected (%d - %s) got (%d - %s)\n", \
     95              (_msg), _desired, strerror(_desired), _stat, strerror(_stat) ); \
     96      printf( "\n FAILED -- errno (%d - %s)\n", \
     97              errno, strerror(errno) ); \
    9698      fflush(stdout); \
    9799      exit( _stat ); \
  • testsuites/support/ChangeLog

    r94dfe0f7 r413043b7  
     12001-08-16      Joel Sherrill <joel@OARcorp.com>
     2
     3        * include/tmacros.h: Attempt to print errno as further information.
     4
    152001-05-10      Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
    26
  • testsuites/support/include/tmacros.h

    r94dfe0f7 r413043b7  
    9292    check_dispatch_disable_level( _level ); \
    9393    if ( (_stat) != (_desired) ) { \
    94       printf( "\n%s FAILED -- expected (%s) got (%s)\n", \
    95               (_msg), strerror(_desired), strerror(_stat) ); \
     94      printf( "\n%s FAILED -- expected (%d - %s) got (%d - %s)\n", \
     95              (_msg), _desired, strerror(_desired), _stat, strerror(_stat) ); \
     96      printf( "\n FAILED -- errno (%d - %s)\n", \
     97              errno, strerror(errno) ); \
    9698      fflush(stdout); \
    9799      exit( _stat ); \
Note: See TracChangeset for help on using the changeset viewer.