summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey09/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxkey09/init.c')
-rw-r--r--testsuites/psxtests/psxkey09/init.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxkey09/init.c b/testsuites/psxtests/psxkey09/init.c
index badf40c2ee..2f7e92a741 100644
--- a/testsuites/psxtests/psxkey09/init.c
+++ b/testsuites/psxtests/psxkey09/init.c
@@ -17,6 +17,7 @@
#include "tmacros.h"
#include "pmacros.h"
+const char rtems_test_name[] = "PSXKEY 9";
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -53,7 +54,7 @@ rtems_task Init( rtems_task_argument ignored )
int sc;
struct timespec delay_request;
- puts( "\n\n*** TEST KEY 09 ***" );
+ TEST_BEGIN();
puts( "Init - pthread key create with destructor - OK" );
sc = pthread_key_create( &key, destructor );
@@ -86,7 +87,7 @@ rtems_task Init( rtems_task_argument ignored )
sc = pthread_key_delete( key );
rtems_test_assert( sc == 0 );
- puts( "*** END OF TEST KEY 09 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -95,6 +96,8 @@ rtems_task Init( rtems_task_argument ignored )
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_POSIX_KEYS 1