Changeset a1a5f92 in rtems


Ignore:
Timestamp:
Mar 16, 2011, 5:11:32 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
a5082ff
Parents:
18b8ac71
Message:

2011-03-16 Jennifer Averett <jennifer.averett@…>

PR 1743/cpu

  • tm26/task1.c, tm27/task1.c: Add Simple Priority Scheduler as complement to existing Deterministic Priority Scheduler. Modify these tests to verify the scheduler they are designed to work with is the default scheduler.
Location:
testsuites/tmtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/ChangeLog

    r18b8ac71 ra1a5f92  
     12011-03-16      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        PR 1743/cpu
     4        * tm26/task1.c, tm27/task1.c: Add Simple Priority Scheduler as
     5        complement to existing Deterministic Priority Scheduler. Modify these
     6        tests to verify the scheduler they are designed to work with is the
     7        default scheduler.
     8
    192011-03-16      Sebastian Huber <sebastian.huber@embedded-brains.de>
    210
  • testsuites/tmtests/tm26/task1.c

    r18b8ac71 ra1a5f92  
    103103  puts( "\n\n*** TIME TEST 26 ***" );
    104104
     105  if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
     106    puts("  Error ==> " );
     107    puts("Test only supported for deterministic priority scheduler\n" );
     108    puts( "*** END OF TEST 26 ***" );
     109    rtems_test_exit( 0 );
     110  }
     111
    105112#define FP1_PRIORITY (RTEMS_MAXIMUM_PRIORITY - 3u)      /* 201, */
    106113  status = rtems_task_create(
  • testsuites/tmtests/tm27/task1.c

    r18b8ac71 ra1a5f92  
    5555
    5656  puts( "\n\n*** TIME TEST 27 ***" );
     57  if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
     58    puts("  Error ==> " );
     59    puts("Test only supported for deterministic priority scheduler\n" );
     60    puts( "*** END OF TEST 26 ***" );
     61    rtems_test_exit( 0 );
     62  }
    5763
    5864#define LOW_PRIORITY (RTEMS_MAXIMUM_PRIORITY - 1u)
Note: See TracChangeset for help on using the changeset viewer.