diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-23 18:04:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-23 18:04:53 +0000 |
commit | 75fed1b941c9fc1ccecf3eb055cac52399383da7 (patch) | |
tree | 98220a7acaa7b34417de68366ce45a44e4983b5f /testsuites/sptests/spintrcritical01 | |
parent | 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-75fed1b941c9fc1ccecf3eb055cac52399383da7.tar.bz2 |
2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c,
spintrcritical08/init.c, spintrcritical09/init.c: Perform some
cleanup and make the tests more similar.
Diffstat (limited to 'testsuites/sptests/spintrcritical01')
-rw-r--r-- | testsuites/sptests/spintrcritical01/init.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuites/sptests/spintrcritical01/init.c b/testsuites/sptests/spintrcritical01/init.c index 7b888c19b3..ed98c8719e 100644 --- a/testsuites/sptests/spintrcritical01/init.c +++ b/testsuites/sptests/spintrcritical01/init.c @@ -119,9 +119,12 @@ rtems_task Init( directive_failed( status, "rtems_semaphore_obtain" ); } - puts( "Init - Case hit" ); + if ( case_hit ) { + puts( "Init - Case hit" ); + puts( "*** END OF TEST INTERRUPT CRITICAL SECTION " TEST_NAME " ***" ); + } else + puts( "Init - Case not hit - ran too long" ); - puts( "*** END OF TEST INTERRUPT CRITICAL SECTION " TEST_NAME " ***" ); rtems_test_exit(0); } |