On Wed, Apr 8, 2020 at 11:17 PM Gedare Bloom <ged...@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 <eshandhawa...@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
>>
>>
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to