[yocto] [PATCHv2][ptest-runner] ptest-runner: Add support to report duration of each ptest
Anibal Limon
anibal.limon at linaro.org
Wed Jan 9 10:00:49 PST 2019
On Tue, 8 Jan 2019 at 14:00, <richard.purdie at linuxfoundation.org> wrote:
> On Mon, 2019-01-07 at 15:18 -0600, Aníbal Limón wrote:
> > In stdout reported as,
> >
> > ...
> > BEGIN: ptest-dir
> > ...
> > DURATION: N
> > END: ptest-dir
> > ...
> >
> > In XML reported as,
> >
> > ...
> > <testcase classname='test1' name='run-ptest'>
> > <duration>N</duration>
> > </testcase>
> > ...
> >
> > Signed-off-by: Aníbal Limón <anibal.limon at linaro.org>
> > ---
> > tests/data/reference.xml | 2 ++
> > tests/utils.c | 20 ++++++++++++--------
> > utils.c | 19 ++++++++++++-------
> > utils.h | 2 +-
> > 4 files changed, 27 insertions(+), 16 deletions(-)
>
> I've not looked at the code detail but the above looks good to me and
> will significantly help ptest usage! :)
>
> Once this is in are you able to help update the recipe and pass this
> data through to the the oe-selftest json report?
>
I will send the recipe upgrade, What is the selftest json report?, I'm not
aware.
Regards,
Anibal
>
> Cheers,
>
> Richard
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190109/84c8169d/attachment-0001.html>
More information about the yocto
mailing list