RTEMS | testsuites/validation: Fix interrupt validation assumptions (!1254)
SHIVAM DEOLANKAR (@D3athSkulll)
gitlab at rtems.org
Thu May 21 13:14:58 UTC 2026
SHIVAM DEOLANKAR commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1254#note_150669
Use following config for the below testing.
```ini
[DEFAULT]
RTEMS_POSIX_API = True
RTEMS_DEBUG = True
BUILD_TESTS = True
BUILD_SAMPLES=True
[riscv/rv64imafdc]
```
Before: `ts-validation-intr.exe` failed with 127 failures in `RtemsIntrReqSetPriority` and 32 failures in `RtemsIntrReqVectorIsEnabled` due to some BSP-specific interrupt assumptions in the `tc-intr-set-priority.c `and `tc-intr-vector-is-enabled.c` .
{width=900 height=586}
{width=900 height=596}
{width=900 height=486}
After Fix: Test compiled successfully and all failures in `RtemsIntrReqSetPriority` and `RtemsIntrReqVectorIsEnabled` were resolved.
{width=900 height=408}
Updated `tc-intr-set-priority.c` to avoid assuming `UINT32_MAX` is always invalid.
Updated `tc-intr-vector-is-enabled.c` to remove assumption about automatic interrupt vector enabling after handler installation.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1254#note_150669
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/20260521/1b291f64/attachment-0001.htm>
More information about the bugs
mailing list