Re: [PATCH v2] Tests for pthread_getcpuclockid method. Ticket:3891

2020-04-13 Thread Eshan Dhawan
On Mon, Apr 13, 2020 at 10:26 PM Joel Sherrill wrote: > I am pretty sure I can report that it won't execute on just visually > reviewing it. > > First, it assumes at least a semi-functional pthread_getcpuclockid() and > there is not one in the tree. > > You should be testing things yourself. Ther

Re: [PATCH v2] Tests for pthread_getcpuclockid method. Ticket:3891

2020-04-13 Thread Eshan Dhawan
On Mon, Apr 13, 2020 at 10:26 PM Joel Sherrill wrote: > I am pretty sure I can report that it won't execute on just visually > reviewing it. > > First, it assumes at least a semi-functional pthread_getcpuclockid() and > there is not one in the tree. > I have tested it against this patch https://l

Re: [PATCH v2] Tests for pthread_getcpuclockid method. Ticket:3891

2020-04-13 Thread Joel Sherrill
I am pretty sure I can report that it won't execute on just visually reviewing it. First, it assumes at least a semi-functional pthread_getcpuclockid() and there is not one in the tree. You should be testing things yourself. There are multiple simulators which have BSPs and are easy to run. We ca

Re: [PATCH v2] Tests for pthread_getcpuclockid method. Ticket:3891

2020-04-13 Thread Eshan Dhawan
Hello everyone, I sent this patch regarding adding a test for pthread_getcpuclockid method a few days ago. If someone could test it. thanks -Eshan On Fri, Apr 10, 2020 at 2:00 AM Eshan dhawan wrote: > --- > testsuites/psxtests/Makefile.am | 10 ++ > testsuites/psxtests/configure

[PATCH v2] Tests for pthread_getcpuclockid method. Ticket:3891

2020-04-09 Thread Eshan dhawan
--- testsuites/psxtests/Makefile.am | 10 ++ testsuites/psxtests/configure.ac | 1 + testsuites/psxtests/psxgetcpuclockid01/init.c | 120 ++ .../psxgetcpuclockid01/psxgetcpuclockid01.doc | 19 +++ .../psxgetcpuclockid01/psxgetcpuclockid01.scn | 4 +