summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-support
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-09-13 13:48:36 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-09-13 13:48:37 +0300
commitacc069eae454e337d999fee6f0aee5afe191d6f4 (patch)
tree60a62f3889e49c7462beabd649d821942fb6c74b /poky/meta/recipes-support
parent6b0f7d8ed1bae971f1fcf01cc75ce0c6ac93b9b5 (diff)
downloadopenbmc-acc069eae454e337d999fee6f0aee5afe191d6f4.tar.xz
poky: subtree update:3b87508a9a..745e38ff0f
Jacob Kroon (2): bitbake: bitbake-user-manual: Correct description for _append/_prepend/_remove bitbake: bitbake-user-manual: key-expansion: Don't refer to overrides Nathan Rossi (2): oeqa/selftest/context.py: For -t/-T use append argparse action chrpath.bbclass: Add break_hardlinks kwarg to allow breaking hardlinks Trevor Gamblin (1): libevent: don't treat test stats line as pass/fail in ptest Change-Id: I453a18f9177b070de9a2109a8b2b96694aa6e1c3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/meta/recipes-support')
-rw-r--r--poky/meta/recipes-support/libevent/libevent/run-ptest9
1 files changed, 5 insertions, 4 deletions
diff --git a/poky/meta/recipes-support/libevent/libevent/run-ptest b/poky/meta/recipes-support/libevent/libevent/run-ptest
index 080806dea..d3b5e793c 100644
--- a/poky/meta/recipes-support/libevent/libevent/run-ptest
+++ b/poky/meta/recipes-support/libevent/libevent/run-ptest
@@ -10,10 +10,11 @@ LOG="${LIBEVENTLIB}/ptest/libevent_ptest_$(date +%Y%m%d-%H%M%S).log"
cd ${LIBEVENTLIB}/ptest
-for test in ./test/*
-do
- $test 2>&1| sed -e '/OK/ s/^/PASS: / ; /FAILED/ s/^/FAIL: / ; /SKIPPED/ s/^/SKIP: / ; /DISABLED/ s/^/SKIP: /' | cut -f1,2 -d ':' | tee -a ${LOG}
-done
+# Run only the libevent "regress" test. All other test scripts in the
+# libevent "test" folder are related to performance, e.g. read/write
+# rates, and/or do not provide a pass/fail output that can be recorded
+# in the ptest log.
+./test/regress 2>&1| sed -e '/TESTS/d' -e '/tests/d' -e '/OK/ s/^/PASS: / ; /FAILED/ s/^/FAIL: / ; /SKIPPED/ s/^/SKIP: / ; /DISABLED/ s/^/SKIP: /' | cut -f1,2 -d ':' | tee -a ${LOG}
passed=`grep PASS ${LOG}|wc -l`
failed=`grep FAIL ${LOG}|wc -l`