summaryrefslogtreecommitdiff
path: root/testsuites/psxtests/psx11
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
commit698c2e504a4382036b412e1b2798ca83432bbbab (patch)
tree114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psx11
parent2272905333bf42690d3badbe052586f568e19436 (diff)
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx11')
-rw-r--r--testsuites/psxtests/psx11/init.c6
-rw-r--r--testsuites/psxtests/psx11/system.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx11/init.c b/testsuites/psxtests/psx11/init.c
index 1da2c285c5..9adde6e25b 100644
--- a/testsuites/psxtests/psx11/init.c
+++ b/testsuites/psxtests/psx11/init.c
@@ -17,6 +17,8 @@
#include "system.h"
#include <errno.h>
+const char rtems_test_name[] = "PSX 11";
+
void *POSIX_Init(
void *argument
)
@@ -29,7 +31,7 @@ void *POSIX_Init(
int priority_3;
int priority_4;
- puts( "\n\n*** POSIX TEST 11 ***" );
+ TEST_BEGIN();
/* set the time of day, and print our buffer in multiple ways */
@@ -126,7 +128,7 @@ void *POSIX_Init(
status = pthread_join( Task_id, NULL );
rtems_test_assert( !status );
- puts( "*** END OF POSIX TEST 11 ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */
diff --git a/testsuites/psxtests/psx11/system.h b/testsuites/psxtests/psx11/system.h
index 7b53258d2c..19a9b165ba 100644
--- a/testsuites/psxtests/psx11/system.h
+++ b/testsuites/psxtests/psx11/system.h
@@ -28,6 +28,8 @@ void *Task_1(
#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 4
#define CONFIGURE_POSIX_INIT_THREAD_TABLE