From 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:21 +0100 Subject: tests/sptests: Use --- testsuites/sptests/spintrcritical09/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/spintrcritical09') 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 #include +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 -- cgit v1.2.3