diff options
Diffstat (limited to 'testsuites/sptests/spintrcritical09/init.c')
-rw-r--r-- | testsuites/sptests/spintrcritical09/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spintrcritical09/init.c b/testsuites/sptests/spintrcritical09/init.c index 26e8a4ba8f..90948eccc6 100644 --- a/testsuites/sptests/spintrcritical09/init.c +++ b/testsuites/sptests/spintrcritical09/init.c @@ -17,6 +17,8 @@ #include <rtems/rtems/semimpl.h> #include <rtems/score/watchdogimpl.h> +const char rtems_test_name[] = "SPINTRCRITICAL 9"; + static rtems_id Semaphore; static bool case_hit; @@ -69,7 +71,7 @@ static rtems_task Init( rtems_status_code sc; int resets; - puts( "\n\n*** TEST INTERRUPT CRITICAL SECTION 09 ***" ); + TEST_BEGIN(); puts( "Init - Test may not be able to detect case is hit reliably" ); puts( "Init - Trying to generate timeout from ISR while blocking" ); @@ -95,7 +97,7 @@ static rtems_task Init( if ( case_hit ) { puts( "Init - It appears the case has been hit" ); - puts( "*** END OF TEST INTERRUPT CRITICAL SECTION 09 ***" ); + TEST_END(); } else puts( "Init - Case not hit - ran too long" ); @@ -110,6 +112,8 @@ static rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_SEMAPHORES 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_MICROSECONDS_PER_TICK 1000 |