Re: Adding test for clock_getcpuclockid()

2020-04-08 Thread Eshan Dhawan
>> 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 t

Re: Adding test for clock_getcpuclockid()

2020-04-08 Thread Gedare Bloom
mplemented 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

Adding test for clock_getcpuclockid()

2020-04-08 Thread Eshan Dhawan
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