diff options
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/psxmsgq01/init.c | 9 | ||||
-rw-r--r-- | testsuites/psxtests/psxsem01/init.c | 10 |
2 files changed, 0 insertions, 19 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c index 5d544ddeeb..de2965a715 100644 --- a/testsuites/psxtests/psxmsgq01/init.c +++ b/testsuites/psxtests/psxmsgq01/init.c @@ -61,15 +61,6 @@ void verify_timedout_mq_timedsend(int que, int is_blocking); void verify_mq_send(void); void verify_timed_receive(void); -#define fatal_posix_mqd( _ptr, _msg ) \ - if ( (_ptr != (mqd_t) -1) ) { \ - check_dispatch_disable_level( 0 ); \ - printf( "\n%s FAILED -- expected (-1) got (%" PRId32 " - %d/%s)\n", \ - (_msg), _ptr, errno, strerror(errno) ); \ - FLUSH_OUTPUT(); \ - rtems_test_exit( -1 ); \ - } - typedef struct { char msg[ 50 ]; int size; diff --git a/testsuites/psxtests/psxsem01/init.c b/testsuites/psxtests/psxsem01/init.c index ed741bda11..f377a4e68b 100644 --- a/testsuites/psxtests/psxsem01/init.c +++ b/testsuites/psxtests/psxsem01/init.c @@ -25,16 +25,6 @@ const char rtems_test_name[] = "PSXSEM 1"; /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); -#define fatal_posix_sem( _ptr, _msg ) \ - if ( (_ptr != SEM_FAILED) ) { \ - check_dispatch_disable_level( 0 ); \ - printf( "\n%s FAILED -- expected (-1) got (%p - %d/%s)\n", \ - (_msg), _ptr, errno, strerror(errno) ); \ - FLUSH_OUTPUT(); \ - rtems_test_exit( -1 ); \ - } - - #define MAX_SEMS 10 void *POSIX_Init( |