Changeset 698c2e50 in rtems for testsuites/psxtests/psxcond01


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

    r2272905 r698c2e50  
    1515#include <pthread.h>
    1616#include <errno.h>
     17
     18const char rtems_test_name[] = "PSXCOND 1";
    1719
    1820/* forward declarations to avoid warnings */
     
    5759  pthread_t  Thread;
    5860
    59   puts( "\n\n*** POSIX TEST -- CONDITION VARIABLE 01 ***" );
     61  TEST_BEGIN();
    6062
    6163  puts( "Init - pthread_mutex_init - Mutex1 - OK" );
     
    8284  fatal_posix_service_status( sc, EINVAL, "cond_wait EINVAL" );
    8385
    84   puts( "*** END OF POSIX TEST CONDITION VARIABLE 01 ***" );
     86  TEST_END();
    8587  rtems_test_exit( 0 );
    8688
     
    9092#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    9193#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     94
     95#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
    9296
    9397#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
Note: See TracChangeset for help on using the changeset viewer.