summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spnotepad01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spnotepad01/init.c')
-rw-r--r--testsuites/sptests/spnotepad01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spnotepad01/init.c b/testsuites/sptests/spnotepad01/init.c
index 27247f1084..97a02f5b8d 100644
--- a/testsuites/sptests/spnotepad01/init.c
+++ b/testsuites/sptests/spnotepad01/init.c
@@ -13,6 +13,8 @@
#include "tmacros.h"
+const char rtems_test_name[] = "SPNOTEPAD 1";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -23,7 +25,7 @@ rtems_task Init(
rtems_status_code status;
uint32_t note;
- puts( "\n\n*** TEST NOTEPADS DISABLED ***" );
+ TEST_BEGIN();
puts( "Init - rtems_task_get_note - RTEMS_NOT_CONFIGURED" );
status = rtems_task_get_note( rtems_task_self(), 0, &note );
@@ -41,7 +43,7 @@ rtems_task Init(
"rtems_task_set_note not configured"
);
- puts( "*** END OF TEST NOTEPADS DISABLED ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -53,6 +55,8 @@ rtems_task Init(
#define CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT