summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx09
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/psx09
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx09')
-rw-r--r--testsuites/psxtests/psx09/init.c6
-rw-r--r--testsuites/psxtests/psx09/system.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx09/init.c b/testsuites/psxtests/psx09/init.c
index caefa8d467..eace61a4a2 100644
--- a/testsuites/psxtests/psx09/init.c
+++ b/testsuites/psxtests/psx09/init.c
@@ -18,6 +18,8 @@
#include <errno.h>
#include "pritime.h"
+const char rtems_test_name[] = "PSX 9";
+
void print_schedparam(
char *prefix,
struct sched_param *schedparam
@@ -61,7 +63,7 @@ void *POSIX_Init(
time_t start;
time_t now;
- puts( "\n\n*** POSIX TEST 9 ***" );
+ TEST_BEGIN();
/* set the time of day, and print our buffer in multiple ways */
@@ -225,7 +227,7 @@ void *POSIX_Init(
sprintf( buffer, " - new priority = %d", priority );
print_current_time( "Init: ", buffer );
- puts( "*** END OF POSIX TEST 9 ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */
diff --git a/testsuites/psxtests/psx09/system.h b/testsuites/psxtests/psx09/system.h
index 5bfe9b801d..1c71e7fd3a 100644
--- a/testsuites/psxtests/psx09/system.h
+++ b/testsuites/psxtests/psx09/system.h
@@ -32,6 +32,8 @@ void *Task_2(
#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 1
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10