summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxtime
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxtime')
-rw-r--r--testsuites/psxtests/psxtime/main.c2
-rw-r--r--testsuites/psxtests/psxtime/test.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxtime/main.c b/testsuites/psxtests/psxtime/main.c
index e5a3a8f19f..7280e8f0af 100644
--- a/testsuites/psxtests/psxtime/main.c
+++ b/testsuites/psxtests/psxtime/main.c
@@ -38,6 +38,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
diff --git a/testsuites/psxtests/psxtime/test.c b/testsuites/psxtests/psxtime/test.c
index dfdab55722..58484e9605 100644
--- a/testsuites/psxtests/psxtime/test.c
+++ b/testsuites/psxtests/psxtime/test.c
@@ -25,6 +25,8 @@
#include <rtems/libio.h>
#include <sys/time.h>
+const char rtems_test_name[] = "PSXTIME";
+
#if !HAVE_DECL_ADJTIME
extern int adjtime(const struct timeval *delta, struct timeval *olddelta);
#endif
@@ -199,7 +201,7 @@ int main(
int i;
int sc;
- puts( "\n\n*** POSIX TIME OF DAY TEST ***" );
+ TEST_BEGIN();
puts( "gettimeofday( NULL, NULL ) - EFAULT" );
sc = gettimeofday( NULL, NULL );
@@ -223,6 +225,6 @@ int main(
i++;
}
- puts( "\n\n*** END OF TIME OF DAY TEST 01 ***" );
+ TEST_END();
rtems_test_exit(0);
}