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/sp54 | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp54')
-rw-r--r-- | testsuites/sptests/sp54/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/sptests/sp54/init.c b/testsuites/sptests/sp54/init.c index 47f8b0ae30..560c8b4863 100644 --- a/testsuites/sptests/sp54/init.c +++ b/testsuites/sptests/sp54/init.c @@ -20,6 +20,8 @@ #include <tmacros.h> +const char rtems_test_name[] = "SP 54"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); @@ -35,7 +37,7 @@ rtems_task Init( * It is possible that since this thread prints and there is no idle * task, that the system could fail miserably. :( */ - puts( "\n\n*** TEST 54 ***" ); + TEST_BEGIN(); puts( "Init - use valid id of API class with no objects" ); status = rtems_task_set_priority( @@ -53,7 +55,7 @@ rtems_task Init( ); fatal_directive_status( status, RTEMS_INVALID_NAME, "rtems_task_ident" ); - puts( "*** END OF TEST 54 ***" ); + TEST_END(); rtems_test_exit(0); } |