summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmrwlock01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmrwlock01/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmrwlock01/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmrwlock01/init.c b/testsuites/psxtmtests/psxtmrwlock01/init.c
index b9adf2d4b8..2f99a1995b 100644
--- a/testsuites/psxtmtests/psxtmrwlock01/init.c
+++ b/testsuites/psxtmtests/psxtmrwlock01/init.c
@@ -16,6 +16,8 @@
#include <pthread.h>
#include "test_support.h"
+const char rtems_test_name[] = "PSXTMRWLOCK 01";
+
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
@@ -223,7 +225,7 @@ void *POSIX_Init(
)
{
- puts( "\n\n*** POSIX TIME PSXTMRWLOCK 01 ***" );
+ TEST_BEGIN();
/* initializing rwlock */
benchmark_pthread_rwlock_init();
@@ -258,7 +260,7 @@ void *POSIX_Init(
/* destroying rwlock */
benchmark_pthread_rwlock_destroy();
- puts( "*** END OF POSIX TIME PSXTMRWLOCK 01 ***" );
+ TEST_END();
rtems_test_exit(0);
}