summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/libevent/libevent/run-ptest9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-support/libevent/libevent/run-ptest b/meta/recipes-support/libevent/libevent/run-ptest
index 080806dea9..d3b5e793c3 100644
--- a/meta/recipes-support/libevent/libevent/run-ptest
+++ b/meta/recipes-support/libevent/libevent/run-ptest
@@ -10,10 +10,11 @@ LOG="${LIBEVENTLIB}/ptest/libevent_ptest_$(date +%Y%m%d-%H%M%S).log"
10 10
11cd ${LIBEVENTLIB}/ptest 11cd ${LIBEVENTLIB}/ptest
12 12
13for test in ./test/* 13# Run only the libevent "regress" test. All other test scripts in the
14do 14# libevent "test" folder are related to performance, e.g. read/write
15 $test 2>&1| sed -e '/OK/ s/^/PASS: / ; /FAILED/ s/^/FAIL: / ; /SKIPPED/ s/^/SKIP: / ; /DISABLED/ s/^/SKIP: /' | cut -f1,2 -d ':' | tee -a ${LOG} 15# rates, and/or do not provide a pass/fail output that can be recorded
16done 16# in the ptest log.
17./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}
17 18
18passed=`grep PASS ${LOG}|wc -l` 19passed=`grep PASS ${LOG}|wc -l`
19failed=`grep FAIL ${LOG}|wc -l` 20failed=`grep FAIL ${LOG}|wc -l`