Changeset 698c2e50 in rtems for testsuites/psxtests/psxcancel01


Ignore:
Timestamp:
Mar 25, 2014, 7:06:16 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6c0301d
Parents:
2272905
Message:

tests/psxtests: Use <rtems/test.h>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxcancel01/init.c

    r2272905 r698c2e50  
    1414#include <pmacros.h>
    1515#include <errno.h>
     16
     17const char rtems_test_name[] = "PSXCANCEL 1";
    1618
    1719/* forward declarations to avoid warnings */
     
    110112  rtems_status_code status;
    111113
    112   puts( "\n\n*** POSIX TEST CANCEL 01 ***" );
     114  TEST_BEGIN();
    113115
    114116  status = rtems_timer_create(
     
    122124  doit( SetType_duringISR_TSR, "pthread_setcanceltype" );
    123125
    124   puts( "*** END OF POSIX TEST CANCEL 01 ***" );
     126  TEST_END();
    125127  rtems_test_exit(0);
    126128  return NULL; /* just so the compiler thinks we returned something */
     
    134136#define CONFIGURE_MAXIMUM_TIMERS        1
    135137
     138#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
     139
    136140#define CONFIGURE_MAXIMUM_POSIX_THREADS        1
    137141#define CONFIGURE_POSIX_INIT_THREAD_TABLE
Note: See TracChangeset for help on using the changeset viewer.