From 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:21 +0100 Subject: tests/sptests: Use --- testsuites/sptests/spintrcritical20/init.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testsuites/sptests/spintrcritical20/init.c') diff --git a/testsuites/sptests/spintrcritical20/init.c b/testsuites/sptests/spintrcritical20/init.c index 1fedd39f67..cae8fdbc4d 100644 --- a/testsuites/sptests/spintrcritical20/init.c +++ b/testsuites/sptests/spintrcritical20/init.c @@ -21,7 +21,7 @@ #include #include -#define TEST_NAME "20" +const char rtems_test_name[] = "SPINTRCRITICAL 20"; #define PRIORITY_MASTER 2 @@ -69,7 +69,7 @@ static void Init(rtems_task_argument ignored) int resets = 0; rtems_status_code sc; - puts("\n\n*** TEST INTERRUPT CRITICAL SECTION " TEST_NAME " ***\n"); + TEST_BEGIN(); ctx->master_task = rtems_task_self(); @@ -140,7 +140,7 @@ static void Init(rtems_task_argument ignored) rtems_test_assert(ctx->status_was_successful); rtems_test_assert(ctx->status_was_timeout); - puts("*** END OF TEST INTERRUPT CRITICAL SECTION " TEST_NAME " ***"); + TEST_END(); rtems_test_exit(0); } @@ -158,6 +158,8 @@ static void Init(rtems_task_argument ignored) #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_DEFAULT_ATTRIBUTES #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT -- cgit v1.2.3