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/psxintrcritical01/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxintrcritical01') diff --git a/testsuites/psxtests/psxintrcritical01/init.c b/testsuites/psxtests/psxintrcritical01/init.c index 1bb6583920..2c4620969f 100644 --- a/testsuites/psxtests/psxintrcritical01/init.c +++ b/testsuites/psxtests/psxintrcritical01/init.c @@ -15,6 +15,8 @@ #include #include +const char rtems_test_name[] = "PSXINTRCRITICAL 1"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument ignored); rtems_timer_service_routine test_release_from_isr(rtems_id timer, void *arg); @@ -43,7 +45,7 @@ rtems_task Init( int sc; int resets; - puts( "\n\n*** TEST POSIX INTERRUPT CRITICAL SECTION " TEST_NAME " ***" ); + TEST_BEGIN(); puts( "Init - Trying to generate timer fire from ISR while firing" ); puts( "Init - Variation is: " TEST_STRING ); @@ -79,7 +81,7 @@ rtems_task Init( } - puts( "*** END OF TEST POSIX INTERRUPT CRITICAL SECTION " TEST_NAME " ***" ); + TEST_END(); rtems_test_exit(0); } @@ -92,6 +94,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_POSIX_TIMERS 1 #define CONFIGURE_MICROSECONDS_PER_TICK 1000 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT -- cgit v1.2.3