summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smplock01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smplock01/init.c')
-rw-r--r--testsuites/smptests/smplock01/init.c9
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