diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-16 17:11:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-16 17:11:32 +0000 |
commit | a1a5f9225cbfbc4f0d4528d2f5f7cf6f5ffecb22 (patch) | |
tree | 12bc32435c4e1abcff83b63e554593c5f5b8c679 /testsuites/tmtests/tm26 | |
parent | 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com> (diff) | |
download | rtems-a1a5f9225cbfbc4f0d4528d2f5f7cf6f5ffecb22.tar.bz2 |
2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
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.
Diffstat (limited to 'testsuites/tmtests/tm26')
-rw-r--r-- | testsuites/tmtests/tm26/task1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c index 357a64945f..06ce7b503f 100644 --- a/testsuites/tmtests/tm26/task1.c +++ b/testsuites/tmtests/tm26/task1.c @@ -102,6 +102,13 @@ rtems_task Init( puts( "\n\n*** TIME TEST 26 ***" ); + if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) { + puts(" Error ==> " ); + puts("Test only supported for deterministic priority scheduler\n" ); + puts( "*** END OF TEST 26 ***" ); + rtems_test_exit( 0 ); + } + #define FP1_PRIORITY (RTEMS_MAXIMUM_PRIORITY - 3u) /* 201, */ status = rtems_task_create( rtems_build_name( 'F', 'P', '1', ' ' ), |