Test for clock_nanosleep with CLOCK_MONOTONIC (# 3890)

Joel Sherrill joel at rtems.org
Thu Apr 9 12:40:07 UTC 2020


On Thu, Apr 9, 2020, 7:28 AM Utkarsh Rai <utkarsh.rai60 at gmail.com> wrote:

> Hi,
> I am willing to add tests for clock_nanosleep with CLOCK_MONOTONIC. What
> is the standard way of adding test for an already present  API but with
> different configuration? For eg. should I add  'psxtmclocknanosleep04/ 05/
> 06' in the testsuite?
>

Yes. That is the pattern.

One of the existing clock_nanosleep tests may be a good guide except how it
checks time passage will use CLOCK_MONOTONIC

 --joel

> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200409/fc988ab8/attachment.html>


More information about the devel mailing list