Adding test for clock_getcpuclockid()

Eshan Dhawan eshandhawan51 at gmail.com
Wed Apr 8 17:21:36 UTC 2020


hello,
how do I add a test for a function that returns -1(ENOSYS), Since isn't
implemented yet?
Though of adding test for clock_getcpuclockid in the same file of
psxgetcpuclockid01.
I wrote the test but it will always return -1.
should I change the rtems_test_asset( r==0 ) to r==-1 and add a print
statement to tell it will be returning -1 ?
Or there are other ways?

thanks
-Eshan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200408/80d3157a/attachment.html>


More information about the devel mailing list