Changeset 75fed1b in rtems


Ignore:
Timestamp:
Jul 23, 2009, 6:04:53 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
d541ba8
Parents:
3da35a18
Message:

2009-07-23 Joel Sherrill <joel.sherrill@…>

  • spintrcritical01/init.c, spintrcritical06/init.c, spintrcritical08/init.c, spintrcritical09/init.c: Perform some cleanup and make the tests more similar.
Location:
testsuites/sptests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r3da35a18 r75fed1b  
     12009-07-23      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * spintrcritical01/init.c, spintrcritical06/init.c,
     4        spintrcritical08/init.c, spintrcritical09/init.c: Perform some
     5        cleanup and make the tests more similar.
     6
    172009-07-23      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • testsuites/sptests/spintrcritical01/init.c

    r3da35a18 r75fed1b  
    120120  }
    121121
    122   puts( "Init - Case hit" );
     122  if ( case_hit ) {
     123    puts( "Init - Case hit" );
     124    puts( "*** END OF TEST INTERRUPT CRITICAL SECTION " TEST_NAME " ***" );
     125  } else
     126    puts( "Init - Case not hit - ran too long" );
    123127
    124   puts( "*** END OF TEST INTERRUPT CRITICAL SECTION " TEST_NAME " ***" );
    125128  rtems_test_exit(0);
    126129}
  • testsuites/sptests/spintrcritical06/init.c

    r3da35a18 r75fed1b  
    9292
    9393  puts( "Init - Trying to generate semaphore release from ISR while blocking" );
     94  puts( "Init - There is no way for the test to know if it hits the case" );
    9495  puts( "Init - Variation is: " TEST_STRING );
    9596  status = rtems_semaphore_create(
  • testsuites/sptests/spintrcritical08/init.c

    r3da35a18 r75fed1b  
    8080    puts( "Init - It appears the case has been hit" );
    8181    puts( "*** END OF TEST INTERRUPT CRITICAL SECTION 08 ***" );
    82   }
     82  } else
     83    puts( "Init - Case not hit - ran too long" );
    8384  rtems_test_exit(0);
    8485}
  • testsuites/sptests/spintrcritical09/init.c

    r3da35a18 r75fed1b  
    7979  }
    8080
    81   if (!case_hit)
    82     rtems_test_exit(0);
     81  if ( case_hit ) {
     82    puts( "Init - It appears the case has been hit" );
     83    puts( "*** END OF TEST INTERRUPT CRITICAL SECTION 09 ***" );
     84  } else
     85    puts( "Init - Case not hit - ran too long" );
    8386
    84   puts( "Init - It appears we hit the case" );
    85 
    86   puts( "*** END OF TEST INTERRUPT CRITICAL SECTION 09 ***" );
    8787  rtems_test_exit(0);
    8888}
Note: See TracChangeset for help on using the changeset viewer.