sptests/sp42: Relax priority requirements

This commit is contained in:
Sebastian Huber
2016-06-23 09:09:55 +02:00
parent 93f158f943
commit b679b4929d

View File

@@ -177,12 +177,12 @@ static rtems_task Init(
Master = rtems_task_self(); Master = rtems_task_self();
if (RTEMS_MAXIMUM_PRIORITY == 255) if (RTEMS_MAXIMUM_PRIORITY >= 255)
Priorities = Priorities_High; Priorities = Priorities_High;
else if (RTEMS_MAXIMUM_PRIORITY == 15) else if (RTEMS_MAXIMUM_PRIORITY >= 15)
Priorities = Priorities_Low; Priorities = Priorities_Low;
else { else {
puts( "Test only supports 256 or 16 configured priority levels" ); puts( "Test needs at least 16 configured priority levels" );
rtems_test_exit( 0 ); rtems_test_exit( 0 );
} }