Changeset 9f61ad60 in rtems


Ignore:
Timestamp:
Jun 23, 2016, 11:43:38 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1d72f03
Parents:
1c77a36
git-author:
Sebastian Huber <sebastian.huber@…> (06/23/16 11:43:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/24/16 12:44:31)
Message:

testsuites: Increase invalid priority values

Increase the invalid priority values to support test runs with
alternative schedulers offering a significant higher maximum priority
value, e.g. EDF.

Location:
testsuites
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psx05/init.c

    r1c77a36 r9f61ad60  
    727727
    728728  puts( "Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)" );
    729   status = pthread_mutex_setprioceiling( &Mutex2_id, 512, &old_ceiling );
     729  status = pthread_mutex_setprioceiling( &Mutex2_id, INT_MAX, &old_ceiling );
    730730  rtems_test_assert( status == EINVAL );
    731731
  • testsuites/sptests/sp30/init.c

    r1c77a36 r9f61ad60  
    4747  puts( "timer_initiate_server -- INVALID_PRIORITY" );
    4848  status = rtems_timer_initiate_server(
    49     1000,
     49    UINT32_C(0x80000000),
    5050    RTEMS_MINIMUM_STACK_SIZE,
    5151    RTEMS_DEFAULT_ATTRIBUTES
  • testsuites/sptests/sptask_err04/init.c

    r1c77a36 r9f61ad60  
    5050  status = rtems_task_create(
    5151     Task_name[1],
    52      257,
     52     UINT32_C(0x80000000),
    5353     RTEMS_MINIMUM_STACK_SIZE,
    5454     RTEMS_DEFAULT_MODES,
  • testsuites/sptests/sptask_err04/task1.c

    r1c77a36 r9f61ad60  
    137137
    138138  /* bad priority */
    139   status = rtems_task_set_priority( RTEMS_SELF, 512, &previous_priority );
     139  status = rtems_task_set_priority(
     140    RTEMS_SELF,
     141    UINT32_C(0x80000000),
     142    &previous_priority
     143  );
    140144  fatal_directive_status(
    141145    status,
Note: See TracChangeset for help on using the changeset viewer.