summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmthread01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmthread01/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmthread01/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmthread01/init.c b/testsuites/psxtmtests/psxtmthread01/init.c
index d83c8e8808..60f94cfa56 100644
--- a/testsuites/psxtmtests/psxtmthread01/init.c
+++ b/testsuites/psxtmtests/psxtmthread01/init.c
@@ -18,6 +18,8 @@
#include <pthread.h>
+const char rtems_test_name[] = "PSXTMTHREAD 01";
+
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
void *TestThread(void *argument);
@@ -47,7 +49,7 @@ void *POSIX_Init(
void *argument
)
{
- puts( "\n\n*** POSIX TIME TEST PSXTMTHREAD01 ***" );
+ TEST_BEGIN();
rtems_time_test_measure_operation(
"pthread_create: no preempt",
@@ -58,7 +60,7 @@ void *POSIX_Init(
);
- puts( "*** END OF POSIX TIME TEST PSXTMTHREAD01 ***" );
+ TEST_END();
rtems_test_exit(0);
}