summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp03/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/smp03/init.c
parenttests/samples: Use <rtems/test.h> (diff)
downloadrtems-ad48ebbfc7e56cfdaf33e7a77a314171d6455511.tar.bz2
tests/smptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/smptests/smp03/init.c')
-rw-r--r--testsuites/smptests/smp03/init.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuites/smptests/smp03/init.c b/testsuites/smptests/smp03/init.c
index fd6f6d9c36..53d23417d8 100644
--- a/testsuites/smptests/smp03/init.c
+++ b/testsuites/smptests/smp03/init.c
@@ -17,9 +17,11 @@
#include <stdio.h>
#include <inttypes.h>
+const char rtems_test_name[] = "SMP 3";
+
static void success(void)
{
- locked_printf( "*** END OF TEST SMP03 ***\n" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -50,9 +52,10 @@ rtems_task Init(
rtems_status_code status;
Loop();
- locked_print_initialize();
- locked_printf( "\n\n*** SMP03 TEST ***\n" );
+ TEST_BEGIN();
+
+ locked_print_initialize();
if ( rtems_smp_get_processor_count() == 1 ) {
success();