RTEMS | testsuites/validation: Resolve compiler warnings and simulator failures (!1163)
Karthikey Kadati (@karthikey_kadati)
gitlab at rtems.org
Wed Mar 25 18:13:35 UTC 2026
Karthikey Kadati created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1163
Project:Branches: karthikey_kadati/rtems:fix-unrelated-warnings to rtems/rtos/rtems:main
Author: Karthikey Kadati
## Summary
During FMLP validation testing with GCC 15, I hit a few -Werror breaks and a simulator assertion in some pre-existing tests.
This MR synchronizes the generated test code with the upstream spec fixes from the central tools repo to get the validation suite passing cleanly again on SMP simulators:
1. Fixed `-Wshift-negative-value` in tc-timecounter-install. (Shifting a negative int is UB in C11, so the spec was updated to shift the positive value and negate after).
2. Fixed `-Wsign-compare` in tr-event-send-receive (mismatch between int and States_Control).
3. Fixed the expected maximum priority assertion for the EDF SMP scheduler in tc-scheduler-smp-only (simulator natively caps at 255, not INT_MAX).
Depends on rtems-central MR:
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1163
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/20260325/84efc7ea/attachment.htm>
More information about the bugs
mailing list