summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp02/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 08:10:19 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 09:17:36 +0100
commitad48ebbfc7e56cfdaf33e7a77a314171d6455511 (patch)
treec150e12d845b5fab5cc689e150068b9b9d085b38 /testsuites/smptests/smp02/init.c
parenttests/samples: Use <rtems/test.h> (diff)
downloadrtems-ad48ebbfc7e56cfdaf33e7a77a314171d6455511.tar.bz2
tests/smptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/smptests/smp02/init.c')
-rw-r--r--testsuites/smptests/smp02/init.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuites/smptests/smp02/init.c b/testsuites/smptests/smp02/init.c
index 509fed01b8..3af33a3d11 100644
--- a/testsuites/smptests/smp02/init.c
+++ b/testsuites/smptests/smp02/init.c
@@ -17,9 +17,11 @@
#include <stdio.h>
#include <inttypes.h>
+const char rtems_test_name[] = "SMP 2";
+
static void success(void)
{
- locked_printf( "*** END OF TEST SMP02 ***\n" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -34,8 +36,9 @@ rtems_task Init(
rtems_status_code status;
char str[80];
+ TEST_BEGIN();
+
locked_print_initialize();
- locked_printf( "\n\n*** SMP02 TEST ***\n" );
if ( rtems_smp_get_processor_count() == 1 ) {
success();