Changeset 6da81e2 in rtems


Ignore:
Timestamp:
Jan 15, 2016, 1:13:35 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
3252126
Parents:
47a471a7
git-author:
Sebastian Huber <sebastian.huber@…> (01/15/16 13:13:35)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/15/16 13:19:23)
Message:

sptests/sp37: Enable interrupts after test case

This avoids a test failure on ARMv7-M targets.

Location:
testsuites/sptests/sp37
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp37/init.c

    r47a471a7 r6da81e2  
    468468  puts( "interrupt is in progress (use body)" );
    469469  in_isr = rtems_interrupt_is_in_progress();
     470
     471  puts( "interrupt enable (use body)" );
     472  rtems_interrupt_enable( level );
     473
    470474  if ( in_isr ) {
    471475    puts( "interrupt reported to be is in progress (body)" );
  • testsuites/sptests/sp37/sp37.scn

    r47a471a7 r6da81e2  
    1 *** TEST 37 ***
     1*** BEGIN OF TEST SP 37 ***
    22clock_tick from task level
    33Blocking task... suspending self
     
    77interrupt flash (use inline)
    88interrupt enable (use inline)
    9 interrupt level attribute (use inline)
     9interrupt level mode (use inline)
    1010test case working..
    11 interrupt is in progress (use body)
    1211interrupt disable (use body)
    1312interrupt disable (use body)
    1413interrupt flash (use body)
    1514interrupt enable (use body)
    16 interrupt level attribute (use body)
     15interrupt level mode (use body)
    1716test seems to work
     17interrupt is in progress (use body)
     18interrupt enable (use body)
    1819isr_in_progress(inline) from ISR -- OK
    1920isr_in_progress(body) from ISR -- OK
    20 *** END OF TEST 37 ***
     21*** END OF TEST SP 37 ***
Note: See TracChangeset for help on using the changeset viewer.