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/smplock01 | |
parent | tests/samples: Use <rtems/test.h> (diff) | |
download | rtems-ad48ebbfc7e56cfdaf33e7a77a314171d6455511.tar.bz2 |
tests/smptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/smptests/smplock01')
-rw-r--r-- | testsuites/smptests/smplock01/init.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuites/smptests/smplock01/init.c b/testsuites/smptests/smplock01/init.c index a445c8404f..d6f973f559 100644 --- a/testsuites/smptests/smplock01/init.c +++ b/testsuites/smptests/smplock01/init.c @@ -23,6 +23,8 @@ #include "tmacros.h" +const char rtems_test_name[] = "SMPLOCK 1"; + #define TASK_PRIORITY 1 #define CPU_COUNT 32 @@ -331,12 +333,11 @@ static void test(void) static void Init(rtems_task_argument arg) { - puts("\n\n*** TEST SMPLOCK 1 ***"); + TEST_BEGIN(); test(); - puts("*** END OF TEST SMPLOCK 1 ***"); - + TEST_END(); rtems_test_exit(0); } @@ -357,6 +358,8 @@ static void Init(rtems_task_argument arg) #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_DEFAULT_ATTRIBUTES +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT |