summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpunsupported01
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/smpunsupported01
parenttests/samples: Use <rtems/test.h> (diff)
downloadrtems-ad48ebbfc7e56cfdaf33e7a77a314171d6455511.tar.bz2
tests/smptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/smptests/smpunsupported01')
-rw-r--r--testsuites/smptests/smpunsupported01/init.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuites/smptests/smpunsupported01/init.c b/testsuites/smptests/smpunsupported01/init.c
index bf7272bffb..1a793abae0 100644
--- a/testsuites/smptests/smpunsupported01/init.c
+++ b/testsuites/smptests/smpunsupported01/init.c
@@ -18,6 +18,8 @@
#include "tmacros.h"
+const char rtems_test_name[] = "SMPUNSUPPORTED 1";
+
static void some_task(rtems_task_argument arg)
{
(void) arg;
@@ -77,12 +79,11 @@ static void test(void)
static void Init(rtems_task_argument arg)
{
- puts("\n\n*** TEST SMPUNSUPPORTED 1 ***");
+ TEST_BEGIN();
test();
- puts("*** END OF TEST SMPUNSUPPORTED 1 ***");
-
+ TEST_END();
rtems_test_exit(0);
}
@@ -95,6 +96,8 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 2
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT