summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcpucounter01
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/spcpucounter01
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spcpucounter01')
-rw-r--r--testsuites/sptests/spcpucounter01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spcpucounter01/init.c b/testsuites/sptests/spcpucounter01/init.c
index d1c5489ad4..77a70b3002 100644
--- a/testsuites/sptests/spcpucounter01/init.c
+++ b/testsuites/sptests/spcpucounter01/init.c
@@ -25,6 +25,8 @@
#define TESTS_USE_PRINTF
#include "tmacros.h"
+const char rtems_test_name[] = "SPCPUCOUNTER 1";
+
#define NS_PER_TICK 1000000
static rtems_interval sync_with_clock_tick(void)
@@ -96,12 +98,12 @@ static void test_delay_nanoseconds(void)
static void Init(rtems_task_argument arg)
{
- puts("\n\n*** TEST SPCPUCOUNTER 1 ***");
+ TEST_BEGIN();
test_converter();
test_delay_nanoseconds();
- puts("*** END OF TEST SPCPUCOUNTER 1 ***");
+ TEST_END();
rtems_test_exit(0);
}
@@ -115,6 +117,8 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT