summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp32/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/sp32/init.c
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp32/init.c')
-rw-r--r--testsuites/sptests/sp32/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp32/init.c b/testsuites/sptests/sp32/init.c
index 210488da54..71cd46c001 100644
--- a/testsuites/sptests/sp32/init.c
+++ b/testsuites/sptests/sp32/init.c
@@ -13,6 +13,8 @@
#include <tmacros.h> /* includes bsp.h, stdio, etc... */
+const char rtems_test_name[] = "SP 32";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -26,7 +28,7 @@ rtems_task Init(
rtems_id period_id;
int loopy;
- printf("\n\n*** TEST 32 ***\n");
+ TEST_BEGIN();
/* create period */
status = rtems_rate_monotonic_create(
@@ -77,10 +79,12 @@ rtems_task Init(
);
}
- puts("*** END OF TEST 32 ***");
+ TEST_END();
rtems_test_exit(0);
}
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER