summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp37
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp37')
-rw-r--r--testsuites/sptests/sp37/init.c6
-rw-r--r--testsuites/sptests/sp37/system.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp37/init.c b/testsuites/sptests/sp37/init.c
index 283b1ab566..abe72d1f53 100644
--- a/testsuites/sptests/sp37/init.c
+++ b/testsuites/sptests/sp37/init.c
@@ -21,6 +21,8 @@
#define CONFIGURE_INIT
#include "system.h"
+const char rtems_test_name[] = "SP 37";
+
/* prototypes */
void test_interrupt_inline(void);
void check_isr_in_progress_inline(void);
@@ -380,7 +382,7 @@ rtems_task Init(
rtems_id timer;
int i;
- puts( "\n\n*** TEST 37 ***" );
+ TEST_BEGIN();
test_isr_level();
test_isr_locks();
@@ -517,6 +519,6 @@ rtems_task Init(
check_isr_worked( "body", isr_in_progress_body );
- puts( "*** END OF TEST 37 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}
diff --git a/testsuites/sptests/sp37/system.h b/testsuites/sptests/sp37/system.h
index 0e54b5e24d..43bef8129e 100644
--- a/testsuites/sptests/sp37/system.h
+++ b/testsuites/sptests/sp37/system.h
@@ -26,6 +26,8 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_PRIORITY 2
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT