RTEMS 6.3
Loading...
Searching...
No Matches

This test case collection provides validation test cases for SMP-only requirements of the Scheduler Manager. More...

Files

file  testsuites/validation/tc-scheduler-smp-only.c

Functions

 T_TEST_CASE (RtemsSchedulerValSmpOnly)

Detailed Description

This test case collection provides validation test cases for SMP-only requirements of the Scheduler Manager.

This test case performs the following actions:

  • Call rtems_scheduler_get_processor() on all online processors and check the returned value.
  • Call rtems_scheduler_get_processor_maximum() and check the returned value.
  • Call rtems_scheduler_ident() for each configured scheduler.
    • Check that the object index of scheduler A has the expected value.
    • Check that the object index of scheduler B has the expected value.
    • Check that the object index of scheduler C has the expected value.
    • Check that the object index of scheduler D has the expected value.
    • Check that processor 0 has scheduler A assigned.
    • Check that processor 1 has scheduler B assigned.
    • Check that scheduler B has the maximum priority of the EDF SMP scheduler.
    • Check that processor 2 has scheduler C assigned if it is present.
    • Check that processor 3 has scheduler C assigned if it is present.