diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
commit | 698c2e504a4382036b412e1b2798ca83432bbbab (patch) | |
tree | 114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxbarrier01/test.c | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxbarrier01/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxbarrier01/test.c b/testsuites/psxtests/psxbarrier01/test.c index 06a1df40d3..bcbb87a467 100644 --- a/testsuites/psxtests/psxbarrier01/test.c +++ b/testsuites/psxtests/psxbarrier01/test.c @@ -22,6 +22,8 @@ #include "tmacros.h" +const char rtems_test_name[] = "PSXBARRIER 1"; + #define NUMBER_THREADS 2 pthread_t ThreadIds[NUMBER_THREADS]; pthread_barrier_t Barrier; @@ -62,7 +64,7 @@ int main( int p; int i; - puts( "\n\n*** POSIX BARRIER TEST 01 ***" ); + TEST_BEGIN(); /*************** NULL POINTER CHECKS *****************/ puts( "pthread_barrierattr_init( NULL ) -- EINVAL" ); @@ -235,6 +237,6 @@ int main( } /*************** END OF TEST *****************/ - puts( "*** END OF POSIX BARRIER TEST 01 ***" ); + TEST_END(); exit(0); } |