summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmsem01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmsem01/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmsem01/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmsem01/init.c b/testsuites/psxtmtests/psxtmsem01/init.c
index af4cca731a..10a77307ec 100644
--- a/testsuites/psxtmtests/psxtmsem01/init.c
+++ b/testsuites/psxtmtests/psxtmsem01/init.c
@@ -19,6 +19,8 @@
#include <rtems/timerdrv.h>
#include "test_support.h"
+const char rtems_test_name[] = "PSXTMSEM 01";
+
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
@@ -164,7 +166,7 @@ static void benchmark_sem_close_second(void)
void *POSIX_Init(void *argument)
{
- puts( "\n\n*** POSIX TIME TEST PSXTMSEM01 ***" );
+ TEST_BEGIN();
/* creating unnamed semaphore */
benchmark_sem_init();
@@ -187,7 +189,7 @@ void *POSIX_Init(void *argument)
benchmark_sem_close(false);
benchmark_sem_unlink("sem_unlink: deletes semaphore");
- puts( "*** END OF POSIX TIME TEST PSXTMSEM01 ***" );
+ TEST_END();
rtems_test_exit(0);
}