summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx12
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx12')
-rw-r--r--testsuites/psxtests/psx12/init.c6
-rw-r--r--testsuites/psxtests/psx12/system.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx12/init.c b/testsuites/psxtests/psx12/init.c
index 183e6eae70..a27f3b0b6a 100644
--- a/testsuites/psxtests/psx12/init.c
+++ b/testsuites/psxtests/psx12/init.c
@@ -18,6 +18,8 @@
#include <errno.h>
#include "pritime.h"
+const char rtems_test_name[] = "PSX 12";
+
void print_schedparam(
char *prefix,
struct sched_param *schedparam
@@ -51,7 +53,7 @@ void *POSIX_Init(
pthread_attr_t attr;
struct sched_param schedparam;
- puts( "\n\n*** POSIX TEST 12 ***" );
+ TEST_BEGIN();
/* set the time of day, and print our buffer in multiple ways */
@@ -143,7 +145,7 @@ void *POSIX_Init(
/* switch to Task_1 */
- puts( "*** END OF POSIX TEST 12 ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */
diff --git a/testsuites/psxtests/psx12/system.h b/testsuites/psxtests/psx12/system.h
index 91770bf738..9aa786ebd2 100644
--- a/testsuites/psxtests/psx12/system.h
+++ b/testsuites/psxtests/psx12/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 2
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10