RTEMS | testsuites/validation: Resolve compiler warnings and simulator failures (!1163)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Mar 26 02:43:54 UTC 2026
Kinsey Moore started a new discussion on testsuites/validation/tc-scheduler-smp-only.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1163#note_147071
> */
> sc = rtems_scheduler_get_maximum_priority( id_by_cpu, &priority );
> T_step_rsc_success( 15, sc );
> - T_step_eq_u32( 16, priority, (uint32_t) PRIORITY_DEFAULT_MAXIMUM );
> + T_step_eq_u32( 16, priority, 255 );
Why is a magic number being substituted in the place of a named value?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1163#note_147071
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/20260326/dd989a34/attachment.htm>
More information about the bugs
mailing list