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

Anibal Limon anibal.limon at linaro.org
Mon Jan 7 13:15:48 PST 2019


On Mon, 7 Jan 2019 at 05:53, <richard.purdie at linuxfoundation.org> 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,
> >
> > ...
> > <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?
>

Yes np, we can remove the units (s).

Regards,
Anibal


>
> Cheers,
>
> Richard
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190107/c3b6d291/attachment.html>


More information about the yocto mailing list