This patch has the tests for clock_nanosleep with the CLOCK_MONOTONIC option. The psxtests/psxclocknanosleep01/.. tests for valid timeout values as well as for the effect on timeout delay when REALTIME clock is modified(no effect). The timing tests are the similar to that for the REALTIME option(yielding and blocking).
Utkarsh Rai (1): Test for clock_nanosleep() with CLOCK_MONOTONIC option .../psxtests/psxclocknanosleep01.yml | 19 +++ spec/build/testsuites/psxtmtests/grp.yml | 4 + .../psxtmtests/psxtmclocknanosleep04.yml | 19 +++ .../psxtmtests/psxtmclocknanosleep05.yml | 19 +++ .../psxtests/psxclocknanosleep01/init.c | 145 ++++++++++++++++++ .../psxclocknanosleep01.doc | 13 ++ .../psxclocknanosleep01.scn | 50 ++++++ .../psxtmtests/psxtmclocknanosleep04/init.c | 70 +++++++++ .../psxtmtests/psxtmclocknanosleep05/init.c | 116 ++++++++++++++ 9 files changed, 455 insertions(+) create mode 100644 spec/build/testsuites/psxtests/psxclocknanosleep01.yml create mode 100644 spec/build/testsuites/psxtmtests/psxtmclocknanosleep04.yml create mode 100644 spec/build/testsuites/psxtmtests/psxtmclocknanosleep05.yml create mode 100644 testsuites/psxtests/psxclocknanosleep01/init.c create mode 100644 testsuites/psxtests/psxclocknanosleep01/psxclocknanosleep01.doc create mode 100644 testsuites/psxtests/psxclocknanosleep01/psxclocknanosleep01.scn create mode 100644 testsuites/psxtmtests/psxtmclocknanosleep04/init.c create mode 100644 testsuites/psxtmtests/psxtmclocknanosleep05/init.c -- 2.25.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel