diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
commit | 698c2e504a4382036b412e1b2798ca83432bbbab (patch) | |
tree | 114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxtime | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxtime')
-rw-r--r-- | testsuites/psxtests/psxtime/main.c | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psxtime/test.c | 6 |
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); } |