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/sp30 | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp30')
-rw-r--r-- | testsuites/sptests/sp30/init.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/sp30/system.h | 2 | ||||
-rw-r--r-- | testsuites/sptests/sp30/task1.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp30/init.c b/testsuites/sptests/sp30/init.c index c556d9ff46..21fb3ddc89 100644 --- a/testsuites/sptests/sp30/init.c +++ b/testsuites/sptests/sp30/init.c @@ -26,6 +26,8 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = "SP 30"; + rtems_task Init( rtems_task_argument argument ) @@ -34,7 +36,7 @@ rtems_task Init( uint32_t index; rtems_status_code status; - puts( "\n\n*** TEST 30 ***" ); + TEST_BEGIN(); build_time( &time, 12, 31, 1988, 9, 0, 0, 0 ); diff --git a/testsuites/sptests/sp30/system.h b/testsuites/sptests/sp30/system.h index 6a49291fcf..2c716bdb23 100644 --- a/testsuites/sptests/sp30/system.h +++ b/testsuites/sptests/sp30/system.h @@ -36,6 +36,8 @@ rtems_task Task_1_through_3( #define CONFIGURE_MAXIMUM_TASKS 5 #define CONFIGURE_MAXIMUM_TIMERS 3 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) diff --git a/testsuites/sptests/sp30/task1.c b/testsuites/sptests/sp30/task1.c index 054a3faee1..da4b0d20e7 100644 --- a/testsuites/sptests/sp30/task1.c +++ b/testsuites/sptests/sp30/task1.c @@ -46,7 +46,7 @@ rtems_task Task_1_through_3( directive_failed( status, "rtems_clock_get_tod failed" ); if ( time.second >= 35 ) { - puts( "*** END OF TEST 30 ***" ); + TEST_END(); rtems_test_exit( 0 ); } |