summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxusleep
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
commit698c2e504a4382036b412e1b2798ca83432bbbab (patch)
tree114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxusleep
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxusleep')
-rw-r--r--testsuites/psxtests/psxusleep/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxusleep/init.c b/testsuites/psxtests/psxusleep/init.c
index 205c6c4fe0..383943e1fe 100644
--- a/testsuites/psxtests/psxusleep/init.c
+++ b/testsuites/psxtests/psxusleep/init.c
@@ -15,6 +15,8 @@
#include <time.h>
#include <errno.h>
+const char rtems_test_name[] = "PSXUSLEEP";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -27,7 +29,7 @@ rtems_task Init(
useconds_t remaining;
int sc;
- puts( "\n\n*** POSIX USLEEP TEST ***" );
+ TEST_BEGIN();
tm_build_time( &tm, TM_FRIDAY, TM_MAY, 24, 96, 11, 5, 0 );
@@ -57,7 +59,7 @@ rtems_task Init(
printf( ctime( &tv.tv_sec ) );
- puts( "*** END OF POSIX USLEEP TEST ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -66,6 +68,8 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 1