diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-04 16:15:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-04 16:15:08 +0000 |
commit | d4f932c9a2e1f7954a34c3b91b592ded501adf8f (patch) | |
tree | 5a2e4e2dec9581947065eacb1f5bc358705ef583 /testsuites/sptests/spfatal07 | |
parent | 2009-09-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de> (diff) | |
download | rtems-d4f932c9a2e1f7954a34c3b91b592ded501adf8f.tar.bz2 |
2009-09-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* spfatal07/testcase.h: Indicate test is not applicable on some
architectures.
Diffstat (limited to 'testsuites/sptests/spfatal07')
-rw-r--r-- | testsuites/sptests/spfatal07/testcase.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/testsuites/sptests/spfatal07/testcase.h b/testsuites/sptests/spfatal07/testcase.h index 9a2892e3ce..34a7683611 100644 --- a/testsuites/sptests/spfatal07/testcase.h +++ b/testsuites/sptests/spfatal07/testcase.h @@ -38,8 +38,16 @@ rtems_initialization_tasks_table Initialization_tasks[] = { void force_error() { - Configuration.interrupt_stack_size = (STACK_MINIMUM_SIZE-1); - rtems_initialize_data_structures(); + #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE) + Configuration.interrupt_stack_size = (STACK_MINIMUM_SIZE-1); + rtems_initialize_data_structures(); + #else + puts( + "WARNING - Test not applicable on this target architecture.\n" + "WARNING - Only applicable when CPU_ALLOCATE_INTERRUPT_STACK == TRUE." + ); + rtems_test_exit(0); + #endif /* we will not run this far */ } |