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/sp50 | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp50')
-rw-r--r-- | testsuites/sptests/sp50/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp50/init.c b/testsuites/sptests/sp50/init.c index 6d56099d67..58a7be7501 100644 --- a/testsuites/sptests/sp50/init.c +++ b/testsuites/sptests/sp50/init.c @@ -14,6 +14,8 @@ #include <tmacros.h> #include "pritime.h" +const char rtems_test_name[] = "SP 50"; + /* forward declarations to avoid warnings */ rtems_timer_service_routine Timer_Routine(rtems_id id, void *ignored); rtems_task Init(rtems_task_argument argument); @@ -46,7 +48,7 @@ rtems_task Init( rtems_id timer1; struct timespec uptime; - puts( "\n\n*** TEST 50 ***" ); + TEST_BEGIN(); sc = rtems_timer_initiate_server( 1, @@ -77,7 +79,7 @@ rtems_task Init( } if ( Fired >= 10 ) { - puts( "*** END OF TEST 50 ***" ); + TEST_END(); rtems_test_exit( 0 ); } /* technically the following is a critical section */ @@ -94,6 +96,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 2 #define CONFIGURE_MAXIMUM_TIMERS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #include <rtems/confdefs.h> |