Changeset 698c2e50 in rtems for testsuites/psxtests/psxkey01


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>

Location:
testsuites/psxtests/psxkey01
Files:
2 edited

Legend:

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

    r2272905 r698c2e50  
    1717#include "tmacros.h"
    1818
     19const char rtems_test_name[] = "PSXKEY 1";
     20
    1921/* forward declarations to avoid warnings */
    2022rtems_task Init(rtems_task_argument argument);
     
    2931  int    status;
    3032
    31   puts( "\n\n*** POSIX KEY 01 TEST ***" );
     33  TEST_BEGIN();
    3234
    3335  /* get id of this thread */
     
    4244  fatal_directive_check_status_only( status, 0, "OK" );
    4345
    44   puts( "*** END OF POSIX KEY 01 TEST ***" );
     46  TEST_END();
    4547  rtems_test_exit( 0 );
    4648}
  • testsuites/psxtests/psxkey01/system.h

    r2272905 r698c2e50  
    2424#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
    2525
     26#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
     27
    2628#define CONFIGURE_MAXIMUM_TASKS          1
    2729#define CONFIGURE_MAXIMUM_POSIX_KEYS     1
Note: See TracChangeset for help on using the changeset viewer.