Changeset d4f932c9 in rtems


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

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

  • spfatal07/testcase.h: Indicate test is not applicable on some architectures.
Location:
testsuites/sptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r56e17106 rd4f932c9  
     12009-09-04      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * spfatal07/testcase.h: Indicate test is not applicable on some
     4        architectures.
     5
    162009-08-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • 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.