RTEMS | testsuites/psxtests: add CLOCK_MONOTONIC timer test (!1225)

subrata singh (@nonpremiumguy) gitlab at rtems.org
Wed Apr 29 21:58:26 UTC 2026



subrata singh created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1225

Project:Branches: nonpremiumguy/rtems:add-monotonic-timer-test to rtems/rtos/rtems:main
Author:   subrata singh



## Summary

testsuites/psxtests: add CLOCK_MONOTONIC timer test

Tests timer_create(), timer_settime() and timer_delete()

using CLOCK_MONOTONIC.

Note: The test currently expects EINVAL for absolute times (both past

and future) due to an underlying bug in timer_settime() where \_TOD_Get()

is used for all TIMER_ABSTIME calculations regardless of clock_type.

## AI Details

<!--Make sure you have read our statement at https://www.rtems.org/generative-ai/-->

### Prompt used

conversational prompts asking for help understanding POSIX boundary tests.

### AI model used

Gemini / Google Search (AI Mode)

### How AI was used for the contribution

- [ ] Test creation.

If others were used please add below

### Access

publicly available web interface

<!--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/1225
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/20260429/436e377c/attachment-0001.htm>


More information about the bugs mailing list