summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sptimecounter01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sptimecounter01/init.c')
-rw-r--r--testsuites/sptests/sptimecounter01/init.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuites/sptests/sptimecounter01/init.c b/testsuites/sptests/sptimecounter01/init.c
index d87ffec460..9e396de054 100644
--- a/testsuites/sptests/sptimecounter01/init.c
+++ b/testsuites/sptests/sptimecounter01/init.c
@@ -16,12 +16,13 @@
#include "config.h"
#endif
+#define TESTS_USE_PRINTK
+#include "tmacros.h"
+
#include <assert.h>
#include <bsp/bootcard.h>
-#include <rtems/test.h>
-
#include <rtems/score/timecounterimpl.h>
#include <rtems/score/todimpl.h>
#include <rtems/timecounter.h>
@@ -54,7 +55,7 @@ void boot_card(const char *cmdline)
struct timeval tv;
struct timespec ts;
- rtems_test_begink();
+ TEST_BEGIN();
assert(time(NULL) == TOD_SECONDS_1970_THROUGH_1988);
@@ -148,7 +149,7 @@ void boot_card(const char *cmdline)
assert(bt.sec == 1);
assert(bt.frac == 18446742522092);
- rtems_test_endk();
+ TEST_END();
_Terminate(RTEMS_FATAL_SOURCE_EXIT, false, 0);
}