diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-12-07 12:18:02 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-12-07 19:10:35 -0600 |
commit | 50162e061b6affd2ccf66f95558a0b8386a4e02c (patch) | |
tree | d528082656528b75a4e3fe087d49c560a21c303a /testsuites/psxtmtests/psxtmrwlock01 | |
parent | 9410d01196776178421066568f29058e7783c60d (diff) |
psxtmtests: Make output more uniform
Diffstat (limited to 'testsuites/psxtmtests/psxtmrwlock01')
-rw-r--r-- | testsuites/psxtmtests/psxtmrwlock01/init.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/testsuites/psxtmtests/psxtmrwlock01/init.c b/testsuites/psxtmtests/psxtmrwlock01/init.c index bdc6fe93b5..f7506467de 100644 --- a/testsuites/psxtmtests/psxtmrwlock01/init.c +++ b/testsuites/psxtmtests/psxtmrwlock01/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2012. + * COPYRIGHT (c) 1989-2013. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -34,7 +34,7 @@ static void benchmark_pthread_rwlock_init(void) rtems_test_assert( status == 0 ); put_time( - "pthread_rwlock_init", + "pthread_rwlock_init: only case", end_time, 1, /* Only executed once */ 0, @@ -54,7 +54,7 @@ static void benchmark_pthread_rwlock_rdlock(void) rtems_test_assert( status == 0 ); put_time( - "pthread_rwlock_rdlock - available", + "pthread_rwlock_rdlock: available", end_time, 1, /* Only executed once */ 0, @@ -74,7 +74,7 @@ static void benchmark_pthread_rwlock_unlock(int print) rtems_test_assert( status == 0 ); if ( print == 1 ){ put_time( - "pthread_rwlock_unlock - available", + "pthread_rwlock_unlock: available", end_time, 1, /* Only executed once */ 0, @@ -94,7 +94,7 @@ static void benchmark_pthread_rwlock_tryrdlock(void) rtems_test_assert( status == 0 || status == EBUSY ); if (status == EBUSY) { put_time( - "pthread_rwlock_tryrdlock - not available", + "pthread_rwlock_tryrdlock: not available", end_time, 1, /* Only executed once */ 0, @@ -102,7 +102,7 @@ static void benchmark_pthread_rwlock_tryrdlock(void) ); } else if (status == 0) { put_time( - "pthread_rwlock_tryrdlock - available", + "pthread_rwlock_tryrdlock: available", end_time, 1, /* Only executed once */ 0, @@ -122,7 +122,7 @@ static void benchmark_pthread_rwlock_timedrdlock(void) rtems_test_assert( status == 0 ); put_time( - "pthread_rwlock_timedrdlock - available", + "pthread_rwlock_timedrdlock: available", end_time, 1, /* Only executed once */ 0, @@ -142,7 +142,7 @@ static void benchmark_pthread_rwlock_wrlock(void) rtems_test_assert( status == 0 ); put_time( - "pthread_rwlock_wrlock - available", + "pthread_rwlock_wrlock: available", end_time, 1, /* Only executed once */ 0, @@ -163,7 +163,7 @@ static void benchmark_pthread_rwlock_trywrlock(void) rtems_test_assert( status == 0 || status == EBUSY ); if ( status == EBUSY ) { put_time( - "pthread_rwlock_trywrlock - not available ", + "pthread_rwlock_trywrlock: not available ", end_time, 1, /* Only executed once */ 0, @@ -171,7 +171,7 @@ static void benchmark_pthread_rwlock_trywrlock(void) ); } else if ( status == 0 ) { put_time( - "pthread_rwlock_trywrlock - available", + "pthread_rwlock_trywrlock: available", end_time, 1, /* Only executed once */ 0, @@ -191,7 +191,7 @@ static void benchmark_pthread_rwlock_timedwrlock(void) rtems_test_assert( status == 0 ); put_time( - "pthread_rwlock_timedwrlock - available", + "pthread_rwlock_timedwrlock: available", end_time, 1, /* Only executed once */ 0, @@ -210,7 +210,7 @@ static void benchmark_pthread_rwlock_destroy(void) rtems_test_assert( status == 0 ); put_time( - "pthread_rwlock_destroy", + "pthread_rwlock_destroy: only case", end_time, 1, /* Only executed once */ 0, |