Ignore:
Timestamp:
Nov 6, 2012, 10:27:19 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
dd40e143
Parents:
524473fd
git-author:
Sebastian Huber <sebastian.huber@…> (11/06/12 10:27:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/07/12 14:08:42)
Message:

sptests/spfatal07: Use confdefs.h to trigger test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spfatal07/testcase.h

    r524473fd r3dd120f0  
    4242#endif
    4343
     44#if CPU_ALLOCATE_INTERRUPT_STACK == TRUE
     45  #define CONFIGURE_INTERRUPT_STACK_SIZE (STACK_MINIMUM_SIZE - 1)
     46#endif
     47
    4448void force_error()
    4549{
    4650  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
    47     Configuration.interrupt_stack_size = (STACK_MINIMUM_SIZE-1);
    48     _ISR_Handler_initialization();
     51    /* we will not run this far */
    4952  #else
    5053    printk(
     
    5558    rtems_test_exit(0);
    5659  #endif
    57 
    58   /* we will not run this far */
    5960}
Note: See TracChangeset for help on using the changeset viewer.