<div dir="auto">You should write the test according to the API specification. The test is expected to fail until the function is implemented (correctly).</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 8, 2020, 11:22 AM Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com">eshandhawan51@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>hello,<br></div>how do I add a test for a function that returns -1(ENOSYS), Since isn't implemented yet?<br></div>Though of adding test for clock_getcpuclockid in the same file of psxgetcpuclockid01. <br></div>I wrote the test but it will always return -1.<br></div>should I change the rtems_test_asset( r==0 ) to r==-1 and add a print statement to tell it will be returning -1 ?<br></div>Or there are other ways?<br><div><br></div><div>thanks <br></div><div>-Eshan <br></div><div><div><div><div><div><div> <br></div></div></div></div></div></div></div>
</blockquote></div>