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/test.c | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxtime/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); } |