diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 08:10:19 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 09:17:36 +0100 |
commit | ad48ebbfc7e56cfdaf33e7a77a314171d6455511 (patch) | |
tree | c150e12d845b5fab5cc689e150068b9b9d085b38 /testsuites/smptests/smpmigration01 | |
parent | tests/samples: Use <rtems/test.h> (diff) | |
download | rtems-ad48ebbfc7e56cfdaf33e7a77a314171d6455511.tar.bz2 |
tests/smptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/smptests/smpmigration01')
-rw-r--r-- | testsuites/smptests/smpmigration01/init.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 <math.h> #include <inttypes.h> +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 |