summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxgetattrnp01
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/psxgetattrnp01
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxgetattrnp01')
-rw-r--r--testsuites/psxtests/psxgetattrnp01/init.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxgetattrnp01/init.c b/testsuites/psxtests/psxgetattrnp01/init.c
index d5b05ffb28..df3e33541d 100644
--- a/testsuites/psxtests/psxgetattrnp01/init.c
+++ b/testsuites/psxtests/psxgetattrnp01/init.c
@@ -18,6 +18,8 @@
#include <pthread.h>
#include <rtems/posix/pthreadimpl.h>
+const char rtems_test_name[] = "PSXGETATTRNP 1";
+
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
@@ -87,7 +89,7 @@ void *POSIX_Init(
size_t guardsize;
struct sched_param param;
- puts( "\n\n*** POSIX ATTRIBUTE TEST 1 ***" );
+ TEST_BEGIN();
/* Initialize thread id */
Init_id = pthread_self();
@@ -159,7 +161,7 @@ void *POSIX_Init(
rtems_test_assert( !sc );
#endif
- puts( "*** END OF POSIX ATTRIBUTE TEST 1 ***" );
+ TEST_END();
rtems_test_exit(0);
return NULL; /* just so the compiler thinks we returned something */
}
@@ -168,9 +170,9 @@ void *POSIX_Init(
void *ignored
)
{
- puts( "\n\n*** POSIX ATTRIBUTE TEST 1 ***" );
+ TEST_BEGIN();
puts( " pthread_getattr_np NOT supported" );
- puts( "*** END OF POSIX ATTRIBUTE TEST 1 ***" );
+ TEST_END();
rtems_test_exit(0);
return NULL; /* just so the compiler thinks we returned something */
}