Ignore:
Timestamp:
Sep 4, 2009, 4:15:08 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
d329acf4
Parents:
56e17106
Message:

2009-09-04 Joel Sherrill <joel.sherrill@…>

  • spfatal07/testcase.h: Indicate test is not applicable on some architectures.
File:
1 edited

Legend:

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

    r56e17106 rd4f932c9  
    3939void force_error()
    4040{
    41   Configuration.interrupt_stack_size = (STACK_MINIMUM_SIZE-1);
    42   rtems_initialize_data_structures();
     41  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
     42    Configuration.interrupt_stack_size = (STACK_MINIMUM_SIZE-1);
     43    rtems_initialize_data_structures();
     44  #else
     45    puts(
     46      "WARNING - Test not applicable on this target architecture.\n"
     47      "WARNING - Only applicable when CPU_ALLOCATE_INTERRUPT_STACK == TRUE."
     48    );
     49    rtems_test_exit(0);
     50  #endif
    4351   
    4452  /* we will not run this far */
Note: See TracChangeset for help on using the changeset viewer.