diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-06 11:27:19 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-07 15:08:42 +0100 |
commit | 3dd120f003f6bed2bd2333bf1b7c3db47755def7 (patch) | |
tree | 847f5ac3c0e483b5848c5534701d65adb94ce7b0 /testsuites | |
parent | bsp/nds: Do not change configuration (diff) | |
download | rtems-3dd120f003f6bed2bd2333bf1b7c3db47755def7.tar.bz2 |
sptests/spfatal07: Use confdefs.h to trigger test
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/sptests/spfatal07/testcase.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuites/sptests/spfatal07/testcase.h b/testsuites/sptests/spfatal07/testcase.h index 77ef6e8af7..e05c7ce27c 100644 --- a/testsuites/sptests/spfatal07/testcase.h +++ b/testsuites/sptests/spfatal07/testcase.h @@ -41,11 +41,14 @@ rtems_initialization_tasks_table Initialization_tasks[] = { #define CONFIGURE_MEMORY_OVERHEAD (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS) #endif +#if CPU_ALLOCATE_INTERRUPT_STACK == TRUE + #define CONFIGURE_INTERRUPT_STACK_SIZE (STACK_MINIMUM_SIZE - 1) +#endif + void force_error() { #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE) - Configuration.interrupt_stack_size = (STACK_MINIMUM_SIZE-1); - _ISR_Handler_initialization(); + /* we will not run this far */ #else printk( "WARNING - Test not applicable on this target architecture.\n" @@ -54,6 +57,4 @@ void force_error() ); rtems_test_exit(0); #endif - - /* we will not run this far */ } |