summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxintrcritical01
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/psxintrcritical01
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxintrcritical01')
-rw-r--r--testsuites/psxtests/psxintrcritical01/init.c8
1 files changed, 6 insertions, 2 deletions
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 <intrcritical.h>
#include <time.h>
+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