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/sp37/init.c | 6 ++++-- testsuites/sptests/sp37/system.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/sp37') 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 -- cgit v1.2.3