summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey07/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxkey07/init.c')
-rw-r--r--testsuites/psxtests/psxkey07/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxkey07/init.c b/testsuites/psxtests/psxkey07/init.c
index e9d879c40a..ac7e0253d8 100644
--- a/testsuites/psxtests/psxkey07/init.c
+++ b/testsuites/psxtests/psxkey07/init.c
@@ -18,6 +18,8 @@
#include "tmacros.h"
#include "pmacros.h"
+const char rtems_test_name[] = "PSXKEY 7";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_task Test_Thread(rtems_task_argument argument);
@@ -67,7 +69,7 @@ rtems_task Init(rtems_task_argument argument)
all_thread_created = 0;
- puts( "\n\n*** TEST KEY 07 ***" );
+ TEST_BEGIN();
puts( "Init - Mutex 1 create - OK" );
sc = pthread_mutex_init( &mutex1, NULL );
@@ -182,7 +184,7 @@ rtems_task Init(rtems_task_argument argument)
sc = pthread_cond_destroy( &set_condition_var );
rtems_test_assert( !sc );
- puts( "*** END OF TEST KEY 07 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -191,6 +193,8 @@ rtems_task Init(rtems_task_argument argument)
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited(10)
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 2
#define CONFIGURE_MAXIMUM_POSIX_KEYS 1