From 698c2e504a4382036b412e1b2798ca83432bbbab Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:16 +0100 Subject: tests/psxtests: Use --- testsuites/psxtests/psxtimer01/psxtimer.c | 6 ++++-- testsuites/psxtests/psxtimer01/system.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxtimer01') 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 #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 -- cgit v1.2.3