rsyslog: 8.1911.0 -> 8.2002.0

Add some error handling to run-ptests.

Fix up the new set-envvars script to that 36 new tests pass.
On qemux86-64/kvm the ptest results with extra filesystem
space and a timeout of 800 seconds are:
         1911   2002
 TOTAL:   389    408
 PASS:    339    357
 SKIP:     39     39
 XFAIL:     0      0
 FAIL:     11     12
 XPASS:     0      0
 ERROR:     0      0

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Randy MacLeod
2020-04-10 20:10:10 -04:00
committed by Khem Raj
parent 6c63320227
commit 1ec13d7d95
2 changed files with 9 additions and 2 deletions
@@ -1,3 +1,8 @@
#!/bin/sh
#
set -e
set -o pipefail
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
cd ${SCRIPTPATH}
make -C tests -k check-TESTS
@@ -29,8 +29,8 @@ SRC_URI_append_libc-musl = " \
file://0001-Include-sys-time-h.patch \
"
SRC_URI[md5sum] = "154e33feb587216f2955050a8301104c"
SRC_URI[sha256sum] = "e1f4776b1c62ad7220f4d624a89a96b0c3d4738006899356eaaef0f1f91ee104"
SRC_URI[md5sum] = "fbe6d18205170e22bad470954d0dc874"
SRC_URI[sha256sum] = "fe86c14d860da1202c76616feac0539ea5a40a4ad182d74b7d6d2419cc2381f8"
UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/releases"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
@@ -131,6 +131,8 @@ do_install_ptest() {
# fix the module load path with runtime/.libs
find ${D}${PTEST_PATH}/${TESTDIR} -name "*.conf" -o -name "*.sh" -o -name "*.c" | xargs \
sed -i -e 's:../plugins/.*/.libs/:../runtime/.libs/:g'
# fix the python3 path for tests/set-envar
sed -i -e s:${HOSTTOOLS_DIR}:${bindir}:g ${D}${PTEST_PATH}/tests/set-envvars
}
do_install_append() {