RTEMS | testsuites/validation: Fix interrupt validation assumptions (!1254)
Gedare Bloom (@gedare)
gitlab at rtems.org
Fri May 22 14:03:40 UTC 2026
Gedare Bloom started a new discussion on testsuites/validation/tc-intr-set-priority.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1254#note_150805
> }
>
> sc = rtems_interrupt_set_priority( vector, priority );
> +
> + /*
> + * Some BSPs support full uint32_t priority range
> + * UINT32_MAX may be valid.
> + */
> + if ( !ctx->valid_priority && sc == RTEMS_SUCCESSFUL ){
this is short-circuiting the test. There are also architectures where some priorities are not valid, in which case the return should not be RTEMS_SUCCESSFUL.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1254#note_150805
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260522/9ce19ba9/attachment-0001.htm>
More information about the bugs
mailing list