From 698c2e504a4382036b412e1b2798ca83432bbbab Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:16 +0100 Subject: tests/psxtests: Use --- testsuites/psxtests/psx01/init.c | 4 +++- testsuites/psxtests/psx01/system.h | 2 ++ testsuites/psxtests/psx01/task.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psx01') diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c index a97f797491..2b2fafd0cd 100644 --- a/testsuites/psxtests/psx01/init.c +++ b/testsuites/psxtests/psx01/init.c @@ -20,6 +20,8 @@ #include +const char rtems_test_name[] = "PSX 1"; + void *POSIX_Init( void *argument ) @@ -30,7 +32,7 @@ void *POSIX_Init( pthread_t thread_id; struct utsname uts; - puts( "\n\n*** POSIX TEST 1 ***" ); + TEST_BEGIN(); /* print some system information */ diff --git a/testsuites/psxtests/psx01/system.h b/testsuites/psxtests/psx01/system.h index a6414fcf7f..2addbb4348 100644 --- a/testsuites/psxtests/psx01/system.h +++ b/testsuites/psxtests/psx01/system.h @@ -31,6 +31,8 @@ void *Task_1_through_3( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 2 #define CONFIGURE_POSIX_INIT_THREAD_TABLE diff --git a/testsuites/psxtests/psx01/task.c b/testsuites/psxtests/psx01/task.c index f18ed2f204..3aa88fe882 100644 --- a/testsuites/psxtests/psx01/task.c +++ b/testsuites/psxtests/psx01/task.c @@ -71,7 +71,7 @@ void *Task_1_through_3( status = pthread_equal( Init_id, (pthread_t) -1 ); rtems_test_assert( !status ); - puts( "*** END OF POSIX TEST 1 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ -- cgit v1.2.3