Changeset c338ae2 in rtems


Ignore:
Timestamp:
Nov 20, 2006, 11:18:45 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1a741fdc
Parents:
70bb55f
Message:

2006-11-20 Joel Sherrill <joel@…>

  • sp27/init.c, sp27/sp27.scn: Correct configured number of semaphores and make output more compliant with other tests.
Location:
testsuites/sptests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r70bb55f rc338ae2  
     12006-11-20      Joel Sherrill <joel@OARcorp.com>
     2
     3        * sp27/init.c, sp27/sp27.scn: Correct configured number of semaphores
     4        and make output more compliant with other tests.
     5
    162006-11-17      Joel Sherrill <joel@OARcorp.com>
    27
  • testsuites/sptests/sp27/init.c

    r70bb55f rc338ae2  
    1515
    1616#define CONFIGURE_MAXIMUM_TASKS               6
     17#define CONFIGURE_MAXIMUM_SEMAPHORES          1
    1718
    1819#define CONFIGURE_MICROSECONDS_PER_TICK       52429
     
    7778  rtems_status_code sc;
    7879
    79   puts("**** Semaphore flush test ****");
     80  puts( "\n\n*** TEST 27 ***" );
     81  puts("Testing semaphore flush");
    8082  sc = rtems_semaphore_create (
    8183    rtems_build_name ('S', 'E', 'M', 'F'),
    8284    0,
    83     RTEMS_LOCAL|RTEMS_BINARY_SEMAPHORE|RTEMS_NO_INHERIT_PRIORITY|RTEMS_NO_PRIORITY_CEILING|RTEMS_FIFO,
     85    RTEMS_LOCAL|
     86      RTEMS_BINARY_SEMAPHORE|RTEMS_NO_INHERIT_PRIORITY|
     87      RTEMS_NO_PRIORITY_CEILING|RTEMS_FIFO,
    8488    0,
    8589    &semaphore);
     
    102106    }
    103107  }
    104   puts ("**** Semaphore flush test succeeded ****");
     108  printf ("Flushed all waiting tasks\n", NTASK );
     109  puts( "*** END OF TEST 27 ***" );
     110
    105111  exit (1);
    106112}
  • testsuites/sptests/sp27/sp27.scn

    r70bb55f rc338ae2  
    1 **** Semaphore flush test ****
    2 **** Semaphore flush test succeeded ****
     1*** TEST 27 ***
     2Testing semaphore flush
     3Flushed all waiting tasks
     4*** END OF TEST 27 ***
Note: See TracChangeset for help on using the changeset viewer.