summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxualarm
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/psxualarm
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxualarm')
-rw-r--r--testsuites/psxtests/psxualarm/init.c6
-rw-r--r--testsuites/psxtests/psxualarm/system.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxualarm/init.c b/testsuites/psxtests/psxualarm/init.c
index d7c1110cc0..03e03b9649 100644
--- a/testsuites/psxtests/psxualarm/init.c
+++ b/testsuites/psxtests/psxualarm/init.c
@@ -17,6 +17,8 @@
#include <unistd.h>
#include <errno.h>
+const char rtems_test_name[] = "PSXUALARM";
+
/* forward declarations to avoid warnings */
void Signal_handler(int signo);
rtems_timer_service_routine Signal_duringISR_TSR(
@@ -66,7 +68,7 @@ void *POSIX_Init(
struct sigaction act;
sigset_t mask;
- puts( "\n\n*** POSIX TEST UALARM ***" );
+ TEST_BEGIN();
/* set the time of day, and print our buffer in multiple ways */
@@ -107,7 +109,7 @@ void *POSIX_Init(
result = ualarm(0,0);
status = sleep(10);
- puts( "*** END OF POSIX TEST UALARM ***" );
+ TEST_END();
rtems_test_exit(0);
return NULL; /* just so the compiler thinks we returned something */
diff --git a/testsuites/psxtests/psxualarm/system.h b/testsuites/psxtests/psxualarm/system.h
index 932178a40b..fb88dd591e 100644
--- a/testsuites/psxtests/psxualarm/system.h
+++ b/testsuites/psxtests/psxualarm/system.h
@@ -37,6 +37,8 @@ void *Task_3(
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_MAXIMUM_POSIX_THREADS 4
#define CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS 5