Adding test for clock_getcpuclockid()
Eshan Dhawan
eshandhawan51 at gmail.com
Wed Apr 8 17:48:50 UTC 2020
On Wed, Apr 8, 2020 at 11:17 PM Gedare Bloom <gedare at rtems.org> wrote:
> You should write the test according to the API specification. The test is
> expected to fail until the function is implemented (correctly).
>
Ok
>
> On Wed, Apr 8, 2020, 11:22 AM Eshan Dhawan <eshandhawan51 at gmail.com>
> wrote:
>
>> 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/53e1affe/attachment.html>
More information about the devel
mailing list