diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-23 09:09:55 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-23 10:36:23 +0200 |
commit | b679b4929d8c6fb8d25ace3655da4a040341705c (patch) | |
tree | 29e9cc0dc68015cbda5c13dde37c256bfd5b0ef7 /testsuites | |
parent | score: Fix EDF no-preempt thread handling (diff) | |
download | rtems-b679b4929d8c6fb8d25ace3655da4a040341705c.tar.bz2 |
sptests/sp42: Relax priority requirements
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/sptests/sp42/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/sp42/init.c b/testsuites/sptests/sp42/init.c index 6d96edee51..f4be2a5ca2 100644 --- a/testsuites/sptests/sp42/init.c +++ b/testsuites/sptests/sp42/init.c @@ -177,12 +177,12 @@ static rtems_task Init( Master = rtems_task_self(); - if (RTEMS_MAXIMUM_PRIORITY == 255) + if (RTEMS_MAXIMUM_PRIORITY >= 255) Priorities = Priorities_High; - else if (RTEMS_MAXIMUM_PRIORITY == 15) + else if (RTEMS_MAXIMUM_PRIORITY >= 15) Priorities = Priorities_Low; else { - puts( "Test only supports 256 or 16 configured priority levels" ); + puts( "Test needs at least 16 configured priority levels" ); rtems_test_exit( 0 ); } |