RTEMS | testsuites/psxtests: add CLOCK_MONOTONIC timer test (!881)
Asif Khan (@Asif-2006)
gitlab at rtems.org
Fri Jan 9 14:01:09 UTC 2026
Asif Khan commented on a discussion on testsuites/psxtests/psxtimer_monotonic01/psxtimer.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/881#note_138232
> +/* SPDX-License-Identifier: BSD-2-Clause */
Yes, this test was based on\
`testsuites/psxtests/psxtimer01/psxtimer.c` for overall structure.
The new test adds explicit coverage for `CLOCK_MONOTONIC`, which was not previously tested. In particular, it verifies correct POSIX timer behavior using `CLOCK_MONOTONIC` and checks that the system behavior is **unaffected by time-of-day changes**, which is a key semantic difference from `CLOCK_REALTIME`.
Since this behavior cannot be validated by the existing tests, it was added as a separate test.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/881#note_138232
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/20260109/bffdc263/attachment.htm>
More information about the bugs
mailing list