summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx07/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
commit698c2e504a4382036b412e1b2798ca83432bbbab (patch)
tree114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psx07/init.c
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx07/init.c')
-rw-r--r--testsuites/psxtests/psx07/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx07/init.c b/testsuites/psxtests/psx07/init.c
index 68de152050..cece668383 100644
--- a/testsuites/psxtests/psx07/init.c
+++ b/testsuites/psxtests/psx07/init.c
@@ -20,6 +20,8 @@
#include "tmacros.h"
#include "pritime.h"
+const char rtems_test_name[] = "PSX 7";
+
void print_schedparam(
char *prefix,
struct sched_param *schedparam
@@ -63,7 +65,7 @@ void *POSIX_Init(
pthread_attr_t attr;
pthread_attr_t destroyed_attr;
- puts( "\n\n*** POSIX TEST 7 ***" );
+ TEST_BEGIN();
/* set the time of day, and print our buffer in multiple ways */
@@ -639,7 +641,7 @@ void *POSIX_Init(
status = pthread_join( Task2_id, NULL );
posix_service_failed( status, " pthread_join");
- puts( "*** END OF POSIX TEST 7 ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */