Changeset 698c2e50 in rtems for testsuites/psxtests/psxtimes01


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/psxtimes01/init.c

    r2272905 r698c2e50  
    1616#include <sys/times.h>
    1717#include <errno.h>
     18
     19const char rtems_test_name[] = "PSXTIMES 1";
    1820
    1921/* forward declarations to avoid warnings */
     
    3537  int        interval = 5;
    3638
    37   puts( "\n\n*** TEST TIMES 01 ***" );
     39  TEST_BEGIN();
    3840
    3941  puts( "times( NULL ) -- EFAULT" );
     
    7072  rtems_test_assert( end_tm.tms_cstime == 0 );
    7173 
    72   puts( "*** END OF TEST TIMES 01 ***" );
     74  TEST_END();
    7375
    7476  rtems_test_exit(0);
     
    8183
    8284#define CONFIGURE_MAXIMUM_TASKS             1
     85#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
     86
    8387#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    8488
Note: See TracChangeset for help on using the changeset viewer.