From 50162e061b6affd2ccf66f95558a0b8386a4e02c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 7 Dec 2013 12:18:02 -0600 Subject: psxtmtests: Make output more uniform --- testsuites/psxtmtests/psxtmbarrier01/init.c | 6 +++--- testsuites/psxtmtests/psxtmbarrier02/init.c | 4 ++-- testsuites/psxtmtests/psxtmbarrier03/init.c | 4 ++-- testsuites/psxtmtests/psxtmbarrier04/init.c | 2 +- testsuites/psxtmtests/psxtmcond01/init.c | 6 +++--- testsuites/psxtmtests/psxtmcond02/init.c | 4 ++-- testsuites/psxtmtests/psxtmcond03/init.c | 4 ++-- testsuites/psxtmtests/psxtmcond04/init.c | 2 +- testsuites/psxtmtests/psxtmcond05/init.c | 4 ++-- testsuites/psxtmtests/psxtmcond06/init.c | 4 ++-- testsuites/psxtmtests/psxtmcond08/init.c | 8 ++++---- testsuites/psxtmtests/psxtmkey01/init.c | 6 +++--- testsuites/psxtmtests/psxtmkey02/init.c | 6 +++--- testsuites/psxtmtests/psxtmmq01/init.c | 22 +++++++++++----------- testsuites/psxtmtests/psxtmmutex01/init.c | 6 +++--- testsuites/psxtmtests/psxtmmutex02/init.c | 4 ++-- testsuites/psxtmtests/psxtmmutex03/init.c | 12 ++++++------ testsuites/psxtmtests/psxtmmutex04/init.c | 4 ++-- testsuites/psxtmtests/psxtmmutex05/init.c | 4 ++-- testsuites/psxtmtests/psxtmmutex06/init.c | 4 ++-- testsuites/psxtmtests/psxtmmutex07/init.c | 6 +++--- testsuites/psxtmtests/psxtmnanosleep01/init.c | 4 ++-- testsuites/psxtmtests/psxtmnanosleep02/init.c | 4 ++-- testsuites/psxtmtests/psxtmrwlock01/init.c | 24 ++++++++++++------------ testsuites/psxtmtests/psxtmrwlock02/init.c | 4 ++-- testsuites/psxtmtests/psxtmrwlock03/init.c | 4 ++-- testsuites/psxtmtests/psxtmrwlock04/init.c | 4 ++-- testsuites/psxtmtests/psxtmrwlock05/init.c | 4 ++-- testsuites/psxtmtests/psxtmrwlock06/init.c | 4 ++-- testsuites/psxtmtests/psxtmrwlock07/init.c | 4 ++-- testsuites/psxtmtests/psxtmsem01/init.c | 18 +++++++++--------- testsuites/psxtmtests/psxtmsem02/init.c | 12 ++++++------ testsuites/psxtmtests/psxtmsem03/init.c | 4 ++-- testsuites/psxtmtests/psxtmsem04/init.c | 4 ++-- testsuites/psxtmtests/psxtmsem05/init.c | 4 ++-- testsuites/psxtmtests/psxtmsleep01/init.c | 4 ++-- testsuites/psxtmtests/psxtmsleep02/init.c | 4 ++-- testsuites/psxtmtests/psxtmthread01/init.c | 4 ++-- testsuites/psxtmtests/psxtmthread02/init.c | 2 +- testsuites/psxtmtests/psxtmthread03/init.c | 4 ++-- testsuites/psxtmtests/psxtmthread04/init.c | 4 ++-- testsuites/psxtmtests/psxtmthread05/init.c | 4 ++-- testsuites/psxtmtests/psxtmthread06/init.c | 4 ++-- 43 files changed, 125 insertions(+), 125 deletions(-) (limited to 'testsuites/psxtmtests') diff --git a/testsuites/psxtmtests/psxtmbarrier01/init.c b/testsuites/psxtmtests/psxtmbarrier01/init.c index 8937f6c1bc..cf32447418 100644 --- a/testsuites/psxtmtests/psxtmbarrier01/init.c +++ b/testsuites/psxtmtests/psxtmbarrier01/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 @@ -40,7 +40,7 @@ static void benchmark_pthread_barrier_init(void) rtems_test_assert( status == 0 ); put_time( - "pthread_barrier_init", + "pthread_barrier_init: only case", end_time, 1, /* Only executed once */ 0, @@ -59,7 +59,7 @@ static void benchmark_pthread_barrier_destroy(void) rtems_test_assert( status == 0 ); put_time( - "pthread_barrier_destroy", + "pthread_barrier_destroy: only case", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmbarrier02/init.c b/testsuites/psxtmtests/psxtmbarrier02/init.c index 1f1ad2622d..f3db8f1c61 100644 --- a/testsuites/psxtmtests/psxtmbarrier02/init.c +++ b/testsuites/psxtmtests/psxtmbarrier02/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 @@ -43,7 +43,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "pthread_barrier_wait – blocking", + "pthread_barrier_wait: blocking", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmbarrier03/init.c b/testsuites/psxtmtests/psxtmbarrier03/init.c index 0ec7c63e4e..a45a64d558 100644 --- a/testsuites/psxtmtests/psxtmbarrier03/init.c +++ b/testsuites/psxtmtests/psxtmbarrier03/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 @@ -77,7 +77,7 @@ void *POSIX_Init( rtems_test_assert( status == PTHREAD_BARRIER_SERIAL_THREAD ); put_time( - "pthread_barrier_wait – releasing, no preempt", + "pthread_barrier_wait: releasing no preempt", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmbarrier04/init.c b/testsuites/psxtmtests/psxtmbarrier04/init.c index 53ff694ab1..f4c6d6cbee 100644 --- a/testsuites/psxtmtests/psxtmbarrier04/init.c +++ b/testsuites/psxtmtests/psxtmbarrier04/init.c @@ -37,7 +37,7 @@ void *Blocker( /* preempt first thread and stop time */ end_time = benchmark_timer_read(); put_time( - "pthread_barrier_wait – releasing, preempt", + "pthread_barrier_wait: releasing preempt", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmcond01/init.c b/testsuites/psxtmtests/psxtmcond01/init.c index bbfaa894f1..103a597ee9 100644 --- a/testsuites/psxtmtests/psxtmcond01/init.c +++ b/testsuites/psxtmtests/psxtmcond01/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 @@ -37,7 +37,7 @@ void benchmark_create_cond_var(void) rtems_test_assert( status == 0 ); put_time( - "pthread_cond_init (single invocation)", + "pthread_cond_init: only case", end_time, 1, 0, @@ -56,7 +56,7 @@ void benchmark_destroy_cond_var(void) rtems_test_assert( status == 0 ); put_time( - "pthread_cond_destroy (single invocation)", + "pthread_cond_destroy: only case", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmcond02/init.c b/testsuites/psxtmtests/psxtmcond02/init.c index 26c36b35f3..ee5ce52535 100644 --- a/testsuites/psxtmtests/psxtmcond02/init.c +++ b/testsuites/psxtmtests/psxtmcond02/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 @@ -35,7 +35,7 @@ void benchmark_signal(void) rtems_test_assert( status == 0 ); put_time( - "pthread_cond_signal - no threads waiting", + "pthread_cond_signal: no threads waiting", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmcond03/init.c b/testsuites/psxtmtests/psxtmcond03/init.c index f2228b7378..518c9557bd 100644 --- a/testsuites/psxtmtests/psxtmcond03/init.c +++ b/testsuites/psxtmtests/psxtmcond03/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 @@ -85,7 +85,7 @@ void *POSIX_Init( rtems_test_assert( status == 0 ); put_time( - "pthread_cond_signal - thread waiting, no preempt", + "pthread_cond_signal: thread waiting no preempt", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmcond04/init.c b/testsuites/psxtmtests/psxtmcond04/init.c index 676a3c84a8..5dae92fd6e 100644 --- a/testsuites/psxtmtests/psxtmcond04/init.c +++ b/testsuites/psxtmtests/psxtmcond04/init.c @@ -48,7 +48,7 @@ void *Blocker( /* Once signaled, this thread preempts POSIX_Init thread */ end_time = benchmark_timer_read(); put_time( - "pthread_cond_signal - thread waiting, preempt", + "pthread_cond_signal: thread waiting preempt", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmcond05/init.c b/testsuites/psxtmtests/psxtmcond05/init.c index 8941ee397f..5be823ea8d 100644 --- a/testsuites/psxtmtests/psxtmcond05/init.c +++ b/testsuites/psxtmtests/psxtmcond05/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 @@ -33,7 +33,7 @@ void benchmark_broadcast(void) rtems_test_assert( status == 0 ); put_time( - "pthread_cond_broadcast - no threads waiting", + "pthread_cond_broadcast: no threads waiting", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmcond06/init.c b/testsuites/psxtmtests/psxtmcond06/init.c index 13a1667d06..c6b4ee8cfd 100644 --- a/testsuites/psxtmtests/psxtmcond06/init.c +++ b/testsuites/psxtmtests/psxtmcond06/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 @@ -102,7 +102,7 @@ void *POSIX_Init( rtems_test_assert( status == 0 ); put_time( - "pthread_cond_broadcast - threads waiting, no preempt", + "pthread_cond_broadcast: threads waiting no preempt", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmcond08/init.c b/testsuites/psxtmtests/psxtmcond08/init.c index fe1fee7d84..e7e3a33988 100644 --- a/testsuites/psxtmtests/psxtmcond08/init.c +++ b/testsuites/psxtmtests/psxtmcond08/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 @@ -9,13 +9,13 @@ #if defined(USE_WAIT) #define TEST_NUMBER "08" - #define TEST_CASE "pthread_cond_wait - blocking" + #define TEST_CASE "pthread_cond_wait: blocking" #elif defined(USE_TIMEDWAIT_WITH_VALUE) #define TEST_NUMBER "09" - #define TEST_CASE "pthread_cond_timedwait - blocking" + #define TEST_CASE "pthread_cond_timedwait: blocking" #elif defined(USE_TIMEDWAIT_WAIT_VALUE_IN_PAST) #define TEST_NUMBER "10" - #define TEST_CASE "pthread_cond_timedwait - time in past error" + #define TEST_CASE "pthread_cond_timedwait: time in past error" #else #error "How am I being compiled?" #endif diff --git a/testsuites/psxtmtests/psxtmkey01/init.c b/testsuites/psxtmtests/psxtmkey01/init.c index b4014ca94b..c45efb9187 100644 --- a/testsuites/psxtmtests/psxtmkey01/init.c +++ b/testsuites/psxtmtests/psxtmkey01/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 @@ -33,7 +33,7 @@ static void benchmark_pthread_key_create(void) rtems_test_assert( status == 0 ); put_time( - "pthread_key_create", + "pthread_key_create: only case", end_time, 1, /* Only executed once */ 0, @@ -53,7 +53,7 @@ static void benchmark_pthread_key_delete(void) rtems_test_assert( status == 0 ); put_time( - "pthread_key_delete", + "pthread_key_delete: only case", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmkey02/init.c b/testsuites/psxtmtests/psxtmkey02/init.c index 820c36b4d5..82f471db6d 100644 --- a/testsuites/psxtmtests/psxtmkey02/init.c +++ b/testsuites/psxtmtests/psxtmkey02/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 @@ -36,7 +36,7 @@ void benchmark_pthread_setspecific( void *value_p ) rtems_test_assert( status == 0 ); put_time( - "pthread_setspecific", + "pthread_setspecific: only case: only case", end_time, 1, /* Only executed once */ 0, @@ -56,7 +56,7 @@ void benchmark_pthread_getspecific( void *expected ) rtems_test_assert( value_p == expected ); put_time( - "pthread_getspecific", + "pthread_getspecific: only case", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmmq01/init.c b/testsuites/psxtmtests/psxtmmq01/init.c index 9510d327f9..344d42bfa1 100644 --- a/testsuites/psxtmtests/psxtmmq01/init.c +++ b/testsuites/psxtmtests/psxtmmq01/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 @@ -45,7 +45,7 @@ static void benchmark_mq_open(int printable) if (printable == 1) put_time( - "mq_open (first open)", + "mq_open: first open", end_time, 1, /* Only executed once */ 0, @@ -68,7 +68,7 @@ static void benchmark_mq_open_second(int printable) if (printable == 1) put_time( - "mq_open (second open)", + "mq_open: second open", end_time, 1, /* Only executed once */ 0, @@ -89,7 +89,7 @@ static void benchmark_mq_close(int printable) if (printable == 1) put_time( - "mq_close (close of first)", + "mq_close: close of first", end_time, 1, /* Only executed once */ 0, @@ -109,7 +109,7 @@ static void benchmark_mq_close_second(int printable) if (printable == 1) put_time( - "mq_close (close of second)", + "mq_close: close of second", end_time, 1, /* Only executed once */ 0, @@ -128,7 +128,7 @@ static void benchmark_mq_unlink(void) rtems_test_assert( status == 0 ); put_time( - "mq_unlink", + "mq_unlink: only case", end_time, 1, /* Only executed once */ 0, @@ -151,7 +151,7 @@ static void benchmark_mq_notify(void) rtems_test_assert( status == 0 ); put_time( - "mq_notify", + "mq_notify: only case", end_time, 1, /* Only executed once */ 0, @@ -171,7 +171,7 @@ static void benchmark_mq_send(void) rtems_test_assert( status != (-1) ); put_time( - "mq_send - no threads waiting", + "mq_send: no threads waiting", end_time, 1, /* Only executed once */ 0, @@ -193,7 +193,7 @@ static void benchmark_mq_receive(void) rtems_test_assert( status != (-1) ); put_time( - "mq_receive - available", + "mq_receive: available", end_time, 1, /* Only executed once */ 0, @@ -217,7 +217,7 @@ static void benchmark_mq_timedsend(void) rtems_test_assert( status != (-1) ); put_time( - "mq_timedsend - no threads waiting", + "mq_timedsend: no threads waiting", end_time, 1, /* Only executed once */ 0, @@ -243,7 +243,7 @@ static void benchmark_mq_timedreceive(void) rtems_test_assert( status != (-1) ); put_time( - "mq_timedreceive - available", + "mq_timedreceive: available", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmmutex01/init.c b/testsuites/psxtmtests/psxtmmutex01/init.c index 0f623d003e..8bddc9eeda 100644 --- a/testsuites/psxtmtests/psxtmmutex01/init.c +++ b/testsuites/psxtmtests/psxtmmutex01/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 @@ -33,7 +33,7 @@ static void test_mutex_create(void) rtems_test_assert( status == 0 ); put_time( - "pthread_mutex_init", + "pthread_mutex_init: only case", end_time, 1, 0, @@ -52,7 +52,7 @@ static void test_mutex_destroy(void) rtems_test_assert( status == 0 ); put_time( - "pthread_mutex_destroy", + "pthread_mutex_destroy: only case", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmmutex02/init.c b/testsuites/psxtmtests/psxtmmutex02/init.c index f11b2dce2f..5beec368f5 100644 --- a/testsuites/psxtmtests/psxtmmutex02/init.c +++ b/testsuites/psxtmtests/psxtmmutex02/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 @@ -43,7 +43,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "pthread_mutex_lock - unavailable, block", + "pthread_mutex_lock: unavailable block", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmmutex03/init.c b/testsuites/psxtmtests/psxtmmutex03/init.c index d80fd85853..0f29d348a1 100644 --- a/testsuites/psxtmtests/psxtmmutex03/init.c +++ b/testsuites/psxtmtests/psxtmmutex03/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 @@ -38,7 +38,7 @@ void benchmark_mutex_lock_available(void) rtems_test_assert( !status ); put_time( - "pthread_mutex_lock - available", + "pthread_mutex_lock: available", end_time, 1, 0, @@ -57,7 +57,7 @@ void benchmark_mutex_unlock_no_threads_waiting(void) rtems_test_assert( !status ); put_time( - "pthread_mutex_unlock - no threads waiting", + "pthread_mutex_unlock: no threads waiting", end_time, 1, 0, @@ -76,7 +76,7 @@ void benchmark_mutex_trylock_available(void) rtems_test_assert( !status ); put_time( - "pthread_mutex_trylock - available", + "pthread_mutex_trylock: available", end_time, 1, 0, @@ -100,7 +100,7 @@ void benchmark_mutex_trylock_not_available(void) rtems_test_assert( status ); put_time( - "pthread_mutex_trylock - not available", + "pthread_mutex_trylock: not available", end_time, 1, 0, @@ -119,7 +119,7 @@ void benchmark_mutex_timedlock_available(void) rtems_test_assert( !status ); put_time( - "pthread_mutex_timedlock - available", + "pthread_mutex_timedlock: available", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmmutex04/init.c b/testsuites/psxtmtests/psxtmmutex04/init.c index 7f73f7ccf8..5711a002fe 100644 --- a/testsuites/psxtmtests/psxtmmutex04/init.c +++ b/testsuites/psxtmtests/psxtmmutex04/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 @@ -43,7 +43,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "pthread_mutex_timedlock - not available, block", + "pthread_mutex_timedlock: not available block", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmmutex05/init.c b/testsuites/psxtmtests/psxtmmutex05/init.c index 11c207488f..4b587b7ba6 100644 --- a/testsuites/psxtmtests/psxtmmutex05/init.c +++ b/testsuites/psxtmtests/psxtmmutex05/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 @@ -75,7 +75,7 @@ void *POSIX_Init( rtems_test_assert( status == 0 ); put_time( - "pthread_mutex_unlock - unblocking, no preemption", + "pthread_mutex_unlock: unblocking no preemption", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmmutex06/init.c b/testsuites/psxtmtests/psxtmmutex06/init.c index 73b4cb3829..cb8f94e8dd 100644 --- a/testsuites/psxtmtests/psxtmmutex06/init.c +++ b/testsuites/psxtmtests/psxtmmutex06/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 @@ -39,7 +39,7 @@ void *Low( rtems_test_assert( status == 0 ); put_time( - "pthread_mutex_unlock - unblocking, preempt", + "pthread_mutex_unlock: unblocking preempt", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmmutex07/init.c b/testsuites/psxtmtests/psxtmmutex07/init.c index 9d21965518..cb829ec250 100644 --- a/testsuites/psxtmtests/psxtmmutex07/init.c +++ b/testsuites/psxtmtests/psxtmmutex07/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 @@ -36,7 +36,7 @@ void test_mutex_setprioceiling(void) rtems_test_assert( status == 0 ); put_time( - "pthread_mutex_setprioceiling", + "pthread_mutex_setprioceiling: only case", end_time, 1, /* Only executed once */ 0, @@ -56,7 +56,7 @@ void test_mutex_getprioceiling(void) rtems_test_assert( status == 0 ); put_time( - "pthread_mutex_getprioceiling", + "pthread_mutex_getprioceiling: only case", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmnanosleep01/init.c b/testsuites/psxtmtests/psxtmnanosleep01/init.c index 37972c0ca4..8b446cae09 100644 --- a/testsuites/psxtmtests/psxtmnanosleep01/init.c +++ b/testsuites/psxtmtests/psxtmnanosleep01/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 @@ void *POSIX_Init( nanosleep( &sleepTime, (struct timespec *) NULL ); end_time = benchmark_timer_read(); - put_time( "nanosleep - yield", end_time, 1, 0, 0 ); + put_time( "nanosleep: yield", end_time, 1, 0, 0 ); puts( "*** END OF POSIX TIME TEST PSXTMNANOSLEEP01 ***" ); diff --git a/testsuites/psxtmtests/psxtmnanosleep02/init.c b/testsuites/psxtmtests/psxtmnanosleep02/init.c index 029ffcda7d..9bc5ec0d05 100644 --- a/testsuites/psxtmtests/psxtmnanosleep02/init.c +++ b/testsuites/psxtmtests/psxtmnanosleep02/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 @@ -31,7 +31,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "nanosleep - blocking", + "nanosleep: blocking", end_time, OPERATION_COUNT, 0, 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, diff --git a/testsuites/psxtmtests/psxtmrwlock02/init.c b/testsuites/psxtmtests/psxtmrwlock02/init.c index 5623663342..d078ee8727 100644 --- a/testsuites/psxtmtests/psxtmrwlock02/init.c +++ b/testsuites/psxtmtests/psxtmrwlock02/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 @@ -43,7 +43,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "pthread_rwlock_rdlock - not available, blocks", + "pthread_rwlock_rdlock: not available blocks", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmrwlock03/init.c b/testsuites/psxtmtests/psxtmrwlock03/init.c index 34a8da5157..4f93a3ee83 100644 --- a/testsuites/psxtmtests/psxtmrwlock03/init.c +++ b/testsuites/psxtmtests/psxtmrwlock03/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 @@ -44,7 +44,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "pthread_rwlock_timedrdlock - not available, blocks", + "pthread_rwlock_timedrdlock: not available blocks", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmrwlock04/init.c b/testsuites/psxtmtests/psxtmrwlock04/init.c index 1f91382b02..bec0ce6fc9 100644 --- a/testsuites/psxtmtests/psxtmrwlock04/init.c +++ b/testsuites/psxtmtests/psxtmrwlock04/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 @@ -43,7 +43,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "pthread_rwlock_wrlock - not available, blocks", + "pthread_rwlock_wrlock: not available blocks", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmrwlock05/init.c b/testsuites/psxtmtests/psxtmrwlock05/init.c index 986b0e0299..648716d215 100644 --- a/testsuites/psxtmtests/psxtmrwlock05/init.c +++ b/testsuites/psxtmtests/psxtmrwlock05/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 @@ -44,7 +44,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "pthread_rwlock_timedwrlock - not available, blocks", + "pthread_rwlock_timedwrlock: not available blocks", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmrwlock06/init.c b/testsuites/psxtmtests/psxtmrwlock06/init.c index fab7434696..ac84b1b2bb 100644 --- a/testsuites/psxtmtests/psxtmrwlock06/init.c +++ b/testsuites/psxtmtests/psxtmrwlock06/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 @@ -80,7 +80,7 @@ void *POSIX_Init( rtems_test_assert( status == 0 ); put_time( - "pthread_rwlock_unlock - thread waiting, no preempt", + "pthread_rwlock_unlock: thread waiting no preempt", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmrwlock07/init.c b/testsuites/psxtmtests/psxtmrwlock07/init.c index 93bf47eb1f..b698427b03 100644 --- a/testsuites/psxtmtests/psxtmrwlock07/init.c +++ b/testsuites/psxtmtests/psxtmrwlock07/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 @@ -40,7 +40,7 @@ void *Low( rtems_test_assert( status == 0 ); put_time( - "pthread_rwlock_unlock - thread waiting, preempt", + "pthread_rwlock_unlock: thread waiting preempt", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmsem01/init.c b/testsuites/psxtmtests/psxtmsem01/init.c index f3a852f1c9..abe94c0dbd 100644 --- a/testsuites/psxtmtests/psxtmsem01/init.c +++ b/testsuites/psxtmtests/psxtmsem01/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 @@ -39,7 +39,7 @@ static void benchmark_sem_init(void) rtems_test_assert( status == 0 ); put_time( - "sem_init", + "sem_init: only case", end_time, 1, /* Only executed once */ 0, @@ -58,7 +58,7 @@ static void benchmark_sem_destroy(void) rtems_test_assert( status == 0 ); put_time( - "sem_destroy", + "sem_destroy: only case", end_time, 1, /* Only executed once */ 0, @@ -76,7 +76,7 @@ static void benchmark_sem_open(bool report_time) if ( report_time ) { put_time( - "sem_open (first open 'O_CREAT')", + "sem_open: first open O_CREAT", end_time, 1, /* Only executed once */ 0, @@ -97,7 +97,7 @@ static void benchmark_sem_close(bool report_time) if ( report_time ) { put_time( - "sem_close (named first/nested close)", + "sem_close: named first/nested close", end_time, 1, /* Only executed once */ 0, @@ -134,7 +134,7 @@ static void benchmark_sem_open_second(void) end_time = benchmark_timer_read(); put_time( - "sem_open (second open 'O_EXCL')", + "sem_open: second open O_EXCL", end_time, 1, /* Only executed once */ 0, @@ -153,7 +153,7 @@ static void benchmark_sem_close_second(void) rtems_test_assert( status == 0 ); put_time( - "sem_close (named second close)", + "sem_close: named second close", end_time, 1, /* Only executed once */ 0, @@ -178,14 +178,14 @@ void *POSIX_Init(void *argument) /* close named semaphore first time -- does not delete */ benchmark_sem_close(true); /* unlink named semaphore -- does not delete */ - benchmark_sem_unlink("sem_unlink (does not delete)"); + benchmark_sem_unlink("sem_unlink: does not delete"); /* close semaphore the second time, this actually deletes it */ benchmark_sem_close_second(); /* recrate named semaphore first time o_flag = O_CREAT */ benchmark_sem_open(false); benchmark_sem_close(false); - benchmark_sem_unlink("sem_unlink (deletes semaphore)"); + benchmark_sem_unlink("sem_unlink: deletes semaphore"); puts( "*** END OF POSIX TIME TEST PSXTMSEM01 ***" ); diff --git a/testsuites/psxtmtests/psxtmsem02/init.c b/testsuites/psxtmtests/psxtmsem02/init.c index 9a1fbdae5e..10bd15a681 100644 --- a/testsuites/psxtmtests/psxtmsem02/init.c +++ b/testsuites/psxtmtests/psxtmsem02/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 @@ -37,7 +37,7 @@ static void benchmark_sem_getvalue(void) rtems_test_assert( status == 0 ); put_time( - "sem_getvalue", + "sem_getvalue: only case", end_time, 1, /* Only executed once */ 0, @@ -56,7 +56,7 @@ static void benchmark_sem_wait(void) rtems_test_assert( status == 0 ); put_time( - "sem_wait – available", + "sem_wait: available", end_time, 1, /* Only executed once */ 0, @@ -75,7 +75,7 @@ static void benchmark_sem_post(void) rtems_test_assert( status == 0 ); put_time( - "sem_post - no threads waiting", + "sem_post: no threads waiting", end_time, 1, /* Only executed once */ 0, @@ -94,7 +94,7 @@ static void benchmark_sem_trywait_available(void) rtems_test_assert( status == 0 ); put_time( - "sem_trywait - available", + "sem_trywait: available", end_time, 1, /* Only executed once */ 0, @@ -114,7 +114,7 @@ static void benchmark_sem_trywait_not_available(void) rtems_test_assert( status != 0 ); put_time( - "sem_trywait - not available", + "sem_trywait: not available", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmsem03/init.c b/testsuites/psxtmtests/psxtmsem03/init.c index 58864bb847..f0c6b89707 100644 --- a/testsuites/psxtmtests/psxtmsem03/init.c +++ b/testsuites/psxtmtests/psxtmsem03/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 @@ -47,7 +47,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "sem_wait - not available, block", + "sem_wait: not available block", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmsem04/init.c b/testsuites/psxtmtests/psxtmsem04/init.c index 649ca45651..741ba32762 100644 --- a/testsuites/psxtmtests/psxtmsem04/init.c +++ b/testsuites/psxtmtests/psxtmsem04/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 @@ -78,7 +78,7 @@ void *POSIX_Init(void *argument) rtems_test_assert( status == 0 ); put_time( - "sem_post - thread waiting, no preempt", + "sem_post: thread waiting no preempt", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmsem05/init.c b/testsuites/psxtmtests/psxtmsem05/init.c index 0d69456524..a5219ce880 100644 --- a/testsuites/psxtmtests/psxtmsem05/init.c +++ b/testsuites/psxtmtests/psxtmsem05/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 @@ -44,7 +44,7 @@ void *Low( rtems_test_assert( status == 0 ); put_time( - "sem_post - thread waiting, preempt", + "sem_post: thread waiting preempt", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmsleep01/init.c b/testsuites/psxtmtests/psxtmsleep01/init.c index 4ef4d4ccc1..f89d0069dd 100644 --- a/testsuites/psxtmtests/psxtmsleep01/init.c +++ b/testsuites/psxtmtests/psxtmsleep01/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 @@ -33,7 +33,7 @@ void *POSIX_Init( end_time = benchmark_timer_read(); put_time( - "sleep - yield", + "sleep: yield", end_time, 1, 0, diff --git a/testsuites/psxtmtests/psxtmsleep02/init.c b/testsuites/psxtmtests/psxtmsleep02/init.c index 7edd6b3041..06d80f74e7 100644 --- a/testsuites/psxtmtests/psxtmsleep02/init.c +++ b/testsuites/psxtmtests/psxtmsleep02/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 @@ -31,7 +31,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "sleep - blocking", + "sleep: blocking", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmthread01/init.c b/testsuites/psxtmtests/psxtmthread01/init.c index ba8bd2badc..295ae7d3a5 100644 --- a/testsuites/psxtmtests/psxtmthread01/init.c +++ b/testsuites/psxtmtests/psxtmthread01/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 @@ -50,7 +50,7 @@ void *POSIX_Init( puts( "\n\n*** POSIX TIME TEST PSXTMTHREAD01 ***" ); rtems_time_test_measure_operation( - "pthread_create", + "pthread_create: no preempt", benchmark_pthread_create, NULL, 1, diff --git a/testsuites/psxtmtests/psxtmthread02/init.c b/testsuites/psxtmtests/psxtmthread02/init.c index 6d5333a098..29f538ddc1 100644 --- a/testsuites/psxtmtests/psxtmthread02/init.c +++ b/testsuites/psxtmtests/psxtmthread02/init.c @@ -55,7 +55,7 @@ void *thread( end_time = benchmark_timer_read(); put_time( - "pthread_create - preempt", + "pthread_create: preempt", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmthread03/init.c b/testsuites/psxtmtests/psxtmthread03/init.c index bafd464c19..df28ca1139 100644 --- a/testsuites/psxtmtests/psxtmthread03/init.c +++ b/testsuites/psxtmtests/psxtmthread03/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 @@ -41,7 +41,7 @@ void *Low( end_time = benchmark_timer_read(); put_time( - "pthread_exit", + "pthread_exit: only case", end_time, OPERATION_COUNT, 0, diff --git a/testsuites/psxtmtests/psxtmthread04/init.c b/testsuites/psxtmtests/psxtmthread04/init.c index b67fca1946..ab6b9a40f6 100644 --- a/testsuites/psxtmtests/psxtmthread04/init.c +++ b/testsuites/psxtmtests/psxtmthread04/init.c @@ -35,7 +35,7 @@ void benchmark_pthread_getschedparam(void) rtems_test_assert( status == 0 ); put_time( - "pthread_getschedparam", + "pthread_getschedparam: only case", end_time, 1, /* Only executed once */ 0, @@ -62,7 +62,7 @@ void benchmark_pthread_setschedparam(void) rtems_test_assert( status == 0 ); put_time( - "pthread_setschedparam - no thread switch", + "pthread_setschedparam: no thread switch", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmthread05/init.c b/testsuites/psxtmtests/psxtmthread05/init.c index 11c84c526c..100f07cd3e 100644 --- a/testsuites/psxtmtests/psxtmthread05/init.c +++ b/testsuites/psxtmtests/psxtmthread05/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2012. + * COPYRIGHT (c) 1989-2013. * On-Line Applications Research Corporation (OAR). * COPYRIGHT (c) 2013. * @@ -57,7 +57,7 @@ void *test_thread( end_time = benchmark_timer_read(); put_time( - "pthread_setschedparam - lower own priority, preempt", + "pthread_setschedparam: lower own priority preempt", end_time, 1, /* Only executed once */ 0, diff --git a/testsuites/psxtmtests/psxtmthread06/init.c b/testsuites/psxtmtests/psxtmthread06/init.c index d224b29840..3ecdce5b65 100644 --- a/testsuites/psxtmtests/psxtmthread06/init.c +++ b/testsuites/psxtmtests/psxtmthread06/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2012. + * COPYRIGHT (c) 1989-2013. * On-Line Applications Research Corporation (OAR). * COPYRIGHT (c) 2013. * Chirayu Desai (chirayudesai1@gmail.com). @@ -59,7 +59,7 @@ void *test_thread( end_time = benchmark_timer_read(); put_time( - "pthread_setschedparam - raise other priority, preempt", + "pthread_setschedparam: raise other priority preempt", end_time, 1, /* Only executed once */ 0, -- cgit v1.2.3