RTEMS | testsuites/sptests: Add spclock_err03 for post-2100 validation (!1102)

SHIVAM DEOLANKAR (@D3athSkulll) gitlab at rtems.org
Tue Mar 3 00:31:46 UTC 2026



SHIVAM DEOLANKAR created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1102

Project:Branches: D3athSkulll/rtems:spclock-post2100-tests to rtems/rtos/rtems:main
Author:   SHIVAM DEOLANKAR



## Summary

testsuites/sptests: Add spclock_err03 for post-2100 validation\
\
Add spclock_err03 to provide coverage for dates beyond 2100\
without increasing runtime. The test verifies century and\
leap-year rules via RTEMS clock APIs and gmtime()/mktime()\
for representative future years.\
\
Fixes #5507  

## AI Details

Yes, I have read the statements.

### Prompt used

Refine the leap year validation logic for coverage beyond 2100 without increasing runtime by creation of new spclock_err03 test and then help me add the new test to testsuites respictive yml.

### AI model used

ChatGPT (OpenAI GPT-5.2)

### How AI was used for the contribution

- [x] Formatting
- [x] Test creation.
- [ ] Code comments.
- [ ] The entire contribution was generated using AI
- [ ] AI code completion such as Copilot in VSCode.

If others were used please add below

### Access

I confirm that I have legitimate access to the AI tools used and that no product claiming copyright ownership over generated content was used.

<!--Default settings, if it is a dropdown it will set after submission-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1102
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/20260303/88a3990c/attachment-0001.htm>


More information about the bugs mailing list