Re: [yocto] [PATCH][ptest-runner] ptest-runner: Add support to report duration of each ptest

2019-01-07 Thread Anibal Limon
On Mon, 7 Jan 2019 at 05:53, wrote: > On Sun, 2019-01-06 at 11:43 -0600, Aníbal Limón wrote: > > In stdout reported as, > > > > ... > > BEGIN: ptest-dir > > ... > > DURATION: Ns > > END: ptest-dir > > ... > > > > In XML reported as, > > > > ... > > > > Ns > > > > ... > > Looks good,

Re: [yocto] [PATCH][ptest-runner] ptest-runner: Add support to report duration of each ptest

2019-01-07 Thread richard . purdie
On Sun, 2019-01-06 at 11:43 -0600, Aníbal Limón wrote: > In stdout reported as, > > ... > BEGIN: ptest-dir > ... > DURATION: Ns > END: ptest-dir > ... > > In XML reported as, > > ... > > Ns > > ... Looks good, thanks! One minor detail - should this be: N ? I'm wondering if we

[yocto] [PATCH][ptest-runner] ptest-runner: Add support to report duration of each ptest

2019-01-06 Thread Aníbal Limón
In stdout reported as, ... BEGIN: ptest-dir ... DURATION: Ns END: ptest-dir ... In XML reported as, ... Ns ... Signed-off-by: Aníbal Limón --- tests/data/reference.xml | 2 ++ tests/utils.c| 20 utils.c | 19 ---