]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libevent: don't treat test stats line as pass/fail in ptest
authorTrevor Gamblin <trevor.gamblin@windriver.com>
Tue, 10 Sep 2019 11:56:17 +0000 (07:56 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2019 06:30:13 +0000 (07:30 +0100)
commit745e38ff0f95a1e77eacea85184c0c7b20a9feb3
treef01e33875f3162dc4d3bf54afe212b6746b40445
parent5f79ad273e5edd1ec09499767e1d6037c19b4091
libevent: don't treat test stats line as pass/fail in ptest

Supplemental to commit fb17b46e2. The libevent "regress" test
outputs its own pass/fail results, e.g.
"2/300 TESTS FAILED. (31 skipped)", which will be miscounted
as an extra test fail in the ptest log. Fixed this to ignore
the libevent results line when counting actual pass/fail
results.

Also removed the for loop in run-ptest and targeted only the
libevent "regress" test, as the other tests being run were
related to performance and did not provide a relevant pass/fail
output.

(From OE-Core rev: 86b8a1d534bfcd70775c6e2b59eabe10de29f526)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libevent/libevent/run-ptest