summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcontext01/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
commit6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch)
treed08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/spcontext01/init.c
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/spcontext01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spcontext01/init.c b/testsuites/sptests/spcontext01/init.c
index fd14b6085d..f26bc55168 100644
--- a/testsuites/sptests/spcontext01/init.c
+++ b/testsuites/sptests/spcontext01/init.c
@@ -18,6 +18,8 @@
#include "tmacros.h"
+const char rtems_test_name[] = "SPCONTEXT 1";
+
#define ITERATION_COUNT 2000
#define PRIORITY_HIGH 2
@@ -162,11 +164,11 @@ static void Init(rtems_task_argument arg)
{
test_context *self = &test_instance;
- puts("\n\n*** TEST SPCONTEXT 1 ***");
+ TEST_BEGIN();
test(self);
- puts("*** END OF TEST SPCONTEXT 1 ***");
+ TEST_END();
rtems_test_exit(0);
}
@@ -181,6 +183,8 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 3
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT