[yocto] [PATCH][ptest-runner] ptest-runner: Add support to report duration of each ptest
richard.purdie at linuxfoundation.org
richard.purdie at linuxfoundation.org
Mon Jan 7 03:53:48 PST 2019
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,
>
> ...
> <testcase classname='test1' name='run-ptest'>
> <duration>Ns</duration>
> </testcase>
> ...
Looks good, thanks!
One minor detail - should this be:
<duration>N</duration>
?
I'm wondering if we should just mandate duration is in seconds and not
put units into the field as it would complicate parsing?
Cheers,
Richard
More information about the yocto
mailing list