diff options
author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2019-09-06 14:51:59 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-07 13:08:27 +0100 |
commit | fb17b46e202cc08277d3eeb34872067c73a6bfbc (patch) | |
tree | 8a54f5c52f75ca6ffdc05a2189e8528efa1ee0b8 /meta-selftest/recipes-test/postinst | |
parent | 802c67c7c27011812d690c41347b38481cdab2e9 (diff) | |
download | openembedded-core-contrib-fb17b46e202cc08277d3eeb34872067c73a6bfbc.tar.gz |
libevent: add granularity to ptest log
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test/postinst')
0 files changed, 0 insertions, 0 deletions