summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx08
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/psx08
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx08')
-rw-r--r--testsuites/psxtests/psx08/init.c4
-rw-r--r--testsuites/psxtests/psx08/system.h2
-rw-r--r--testsuites/psxtests/psx08/task3.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx08/init.c b/testsuites/psxtests/psx08/init.c
index 1297d0fd9f..781ac1ed30 100644
--- a/testsuites/psxtests/psx08/init.c
+++ b/testsuites/psxtests/psx08/init.c
@@ -15,6 +15,8 @@
#include "system.h"
#include <errno.h>
+const char rtems_test_name[] = "PSX 8";
+
void *POSIX_Init(
void *argument
)
@@ -22,7 +24,7 @@ void *POSIX_Init(
int status;
void *return_pointer;
- puts( "\n\n*** POSIX TEST 8 ***" );
+ TEST_BEGIN();
/* set the time of day, and print our buffer in multiple ways */
diff --git a/testsuites/psxtests/psx08/system.h b/testsuites/psxtests/psx08/system.h
index 756ea4902e..1ae4483636 100644
--- a/testsuites/psxtests/psx08/system.h
+++ b/testsuites/psxtests/psx08/system.h
@@ -36,6 +36,8 @@ void *Task_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 4
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
diff --git a/testsuites/psxtests/psx08/task3.c b/testsuites/psxtests/psx08/task3.c
index 8bfee0b662..acbdb9951f 100644
--- a/testsuites/psxtests/psx08/task3.c
+++ b/testsuites/psxtests/psx08/task3.c
@@ -46,7 +46,7 @@ void *Task_3(
&Task2_id
);
- puts( "*** END OF POSIX TEST 8 ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */