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

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



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

Project:Branches: D3athSkulll/rtems:spclock-post2100-fix 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 logic used in the leap year validation and also setup new test for spclock_err03 for testing the new logic. Also suggest the changes to be done to grp.yml and other files for integrating the test addition

### AI model used

Chatgpt 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/1103
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/4141709e/attachment.htm>


More information about the bugs mailing list