Changeset 698c2e50 in rtems for testsuites/psxtests/psxspin02


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/psxspin02
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxspin02/main.c

    r2272905 r698c2e50  
    4444#define CONFIGURE_MAXIMUM_POSIX_SPINLOCKS 1
    4545
     46#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
     47
    4648#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4749#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
  • testsuites/psxtests/psxspin02/test.c

    r2272905 r698c2e50  
    2626
    2727#include <rtems.h>  /* for task creation */
     28
     29const char rtems_test_name[] = "PSXSPIN 2";
    2830
    2931/* forward declarations to avoid warnings */
     
    6567  rtems_id              taskid;
    6668
    67   puts( "\n\n*** POSIX SPINLOCK TEST 02 ***" );
     69  TEST_BEGIN();
    6870
    6971  /* This successfully creates one */
     
    102104
    103105  /*************** END OF TEST *****************/
    104   puts( "*** END OF POSIX SPINLOCK TEST 02 ***" );
     106  TEST_END();
    105107  exit(0);
    106108}
Note: See TracChangeset for help on using the changeset viewer.