summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spintrcritical13
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
commit6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch)
treed08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/spintrcritical13
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spintrcritical13')
-rw-r--r--testsuites/sptests/spintrcritical13/init.c8
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