diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
commit | 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch) | |
tree | d08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/spintrcritical13 | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spintrcritical13')
-rw-r--r-- | testsuites/sptests/spintrcritical13/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spintrcritical13/init.c b/testsuites/sptests/spintrcritical13/init.c index 2cc567bc5c..5a43dab6ef 100644 --- a/testsuites/sptests/spintrcritical13/init.c +++ b/testsuites/sptests/spintrcritical13/init.c @@ -28,6 +28,8 @@ #error "Test Mode not defined" #endif +const char rtems_test_name[] = "SPINTRCRITICAL " TEST_NAME; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); rtems_timer_service_routine test_release_from_isr(rtems_id timer, void *arg); @@ -58,7 +60,7 @@ rtems_task Init( rtems_status_code sc; int resets; - puts( "\n\n*** TEST INTERRUPT CRITICAL SECTION " TEST_NAME " ***" ); + TEST_BEGIN(); puts( "Init - Trying to generate timer fire from ISR while firing" ); puts( "Init - Variation is: " TEST_STRING ); @@ -91,7 +93,7 @@ rtems_task Init( directive_failed( sc, "rtems_timer_fire_after"); } - puts( "*** END OF TEST INTERRUPT CRITICAL SECTION " TEST_NAME " ***" ); + TEST_END(); rtems_test_exit(0); } @@ -107,6 +109,8 @@ rtems_task Init( #endif #define CONFIGURE_MAXIMUM_TIMERS 2 #define CONFIGURE_MICROSECONDS_PER_TICK 1000 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT |