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/sp54/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/sp54') 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 +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); } -- cgit v1.2.3