RTEMS | testsuites/sptests: Edit spclock_err02 for post-2100 validation (!1103)
SHIVAM DEOLANKAR (@D3athSkulll)
gitlab at rtems.org
Wed Apr 8 04:14:36 UTC 2026
SHIVAM DEOLANKAR commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1103#note_148209
on inspecting /home/shivam/quick-start/src/rtems/cpukit/rtems/src/clocktodvalidate.c,
I have seen there are two constraints
```c
if ( the_tod->year < TOD_BASE_YEAR ) {
return RTEMS_INVALID_CLOCK;
}
if ( the_tod->year > TOD_LATEST_YEAR ) {
return RTEMS_INVALID_CLOCK;
}
```
The TOD_BASE_YEAR is 1988,
and TOD_LATEST_YEAR is 4095.
It seems to be an issue from my end in the tests. I have updated the tests but have been facing issues running and testing using rtems-test and qemu recently.
https://users.rtems.org/t/unknown-error-while-running-tests-using-qemu/799
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1103#note_148209
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/20260408/6d1b78f6/attachment.htm>
More information about the bugs
mailing list