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/psxtimer01 | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxtimer01')
-rw-r--r-- | testsuites/psxtests/psxtimer01/psxtimer.c | 6 | ||||
-rw-r--r-- | testsuites/psxtests/psxtimer01/system.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxtimer01/psxtimer.c b/testsuites/psxtests/psxtimer01/psxtimer.c index 437d898611..032e9f8e6c 100644 --- a/testsuites/psxtests/psxtimer01/psxtimer.c +++ b/testsuites/psxtests/psxtimer01/psxtimer.c @@ -36,6 +36,8 @@ #include <rtems/score/timespec.h> #include "pritime.h" +const char rtems_test_name[] = "PSXTIMER 1"; + void StopTimer( timer_t timer_id, struct itimerspec *timerdata @@ -341,7 +343,7 @@ void *POSIX_Init ( struct sched_param sch_param; /* schedule parameters */ struct periodic_params params_a, params_b, params_c, params_c1; - puts( "\n\n*** POSIX Timers Test 01 ***" ); + TEST_BEGIN(); data.updated = FALSE; @@ -455,6 +457,6 @@ void *POSIX_Init ( sleep(5); - puts( "*** END OF POSIX Timers Test 01 ***" ); + TEST_END(); rtems_test_exit (0); } diff --git a/testsuites/psxtests/psxtimer01/system.h b/testsuites/psxtests/psxtimer01/system.h index ca6be3cdb5..57462e7622 100644 --- a/testsuites/psxtests/psxtimer01/system.h +++ b/testsuites/psxtests/psxtimer01/system.h @@ -39,6 +39,8 @@ void *task_c( #define CONFIGURE_POSIX_INIT_THREAD_TABLE +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 5 #define CONFIGURE_MAXIMUM_POSIX_TIMERS 5 #define CONFIGURE_MAXIMUM_TIMERS 4 |