[OE-core] [PATCH v2] libevent: add granularity to ptest log
Richard Purdie
richard.purdie at linuxfoundation.org
Sat Sep 7 12:11:13 UTC 2019
On Fri, 2019-09-06 at 14:51 -0400, Trevor Gamblin wrote:
> From: Trevor Gamblin <trevor.gamblin at windriver.com>
>
> The libevent ptest used to report only a global pass or a fail
> result.
> Count individual PASS, FAIL, SKIP results. The SKIP results now
> include tests that are disabled in the libevent code.
>
> libevent's ptest output did not comply with the automake-style output
> "result: testname", and reported a FAIL status at the end of the test
> run if any of the libevent tests failed. This patch makes the log
> consistent with the automake style:
>
> PASS: http/cancel_by_host_no_ns
> PASS: http/cancel_inactive_server
> PASS: http/cancel_by_host_no_ns_inactive_server
> SKIPPED: http/cancel_by_host_server_timeout
> SKIPPED: http/cancel_server_timeout
>
> and provides a summary as follows:
>
> === Test Summary ===
> TOTAL: 316
> PASSED: 300
> FAILED: 0
> SKIPPED: 16
> DURATION: 87
> END: /usr/lib/libevent/ptest
>
> Signed-off-by: Trevor Gamblin <trevor.gamblin at windriver.com>
Thanks for this, it is a definite improvement on what was there before.
Results from the autobuilder run:
https://autobuilder.yocto.io/pub/non-release/20190907-4/testresults/testresult-report.txt
Cheers,
Richard
More information about the Openembedded-core
mailing list