summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmnanosleep01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmnanosleep01/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmnanosleep01/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmnanosleep01/init.c b/testsuites/psxtmtests/psxtmnanosleep01/init.c
index eeb67c1995..8dc2890a6b 100644
--- a/testsuites/psxtmtests/psxtmnanosleep01/init.c
+++ b/testsuites/psxtmtests/psxtmnanosleep01/init.c
@@ -11,6 +11,8 @@
#include "config.h"
#endif
+#define TEST_INIT
+
#include <timesys.h>
#include <rtems/btimer.h>
#include "test_support.h"
@@ -32,9 +34,9 @@ void *POSIX_Init(
TEST_BEGIN();
- benchmark_timer_initialize();
+ benchmark_timer_initialize();
nanosleep( &sleepTime, (struct timespec *) NULL );
- end_time = benchmark_timer_read();
+ end_time = benchmark_timer_read();
put_time( "nanosleep: yield", end_time, 1, 0, 0 );