From ad48ebbfc7e56cfdaf33e7a77a314171d6455511 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Mar 2014 08:10:19 +0100 Subject: tests/smptests: Use --- testsuites/smptests/smpmigration01/init.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'testsuites/smptests/smpmigration01') diff --git a/testsuites/smptests/smpmigration01/init.c b/testsuites/smptests/smpmigration01/init.c index 2422466ee9..6fb41443d6 100644 --- a/testsuites/smptests/smpmigration01/init.c +++ b/testsuites/smptests/smpmigration01/init.c @@ -23,6 +23,8 @@ #include #include +const char rtems_test_name[] = "SMPMIGRATION 1"; + #define CPU_COUNT 2 #define RUNNER_COUNT (CPU_COUNT + 1) @@ -220,14 +222,13 @@ static void test(void) static void Init(rtems_task_argument arg) { - puts("\n\n*** TEST SMPMIGRATION 1 ***"); + TEST_BEGIN(); if (rtems_smp_get_processor_count() >= 2) { test(); } - puts("*** END OF TEST SMPMIGRATION 1 ***"); - + TEST_END(); rtems_test_exit(0); } @@ -242,6 +243,8 @@ static void Init(rtems_task_argument arg) #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT -- cgit v1.2.3