summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog_8.1911.0.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.1911.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.1911.0.bb
index 29bba2d9a7..f82caf7b5c 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.1911.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.1911.0.bb
@@ -77,6 +77,12 @@ PACKAGECONFIG[libdbi] = "--enable-libdbi,--disable-libdbi,libdbi,"
77PACKAGECONFIG[mail] = "--enable-mail,--disable-mail,," 77PACKAGECONFIG[mail] = "--enable-mail,--disable-mail,,"
78PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind," 78PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind,"
79 79
80do_configure_prepend() {
81 sed -i -e 's|python |python3 |g' ${S}/tests/*.sh
82 sed -i -e 's|/usr/bin/env python|/usr/bin/env python3|g' ${S}/tests/*.py
83 sed -i -e 's|/usr/bin/env python|/usr/bin/env python3|g' ${S}/tests/testsuites/*.py
84}
85
80TESTDIR = "tests" 86TESTDIR = "tests"
81do_compile_ptest() { 87do_compile_ptest() {
82 echo 'buildtest-TESTS: $(check_PROGRAMS)' >> ${TESTDIR}/Makefile 88 echo 'buildtest-TESTS: $(check_PROGRAMS)' >> ${TESTDIR}/Makefile
@@ -186,6 +192,6 @@ VALGRIND_riscv64 = ""
186 192
187RDEPENDS_${PN}-ptest += "\ 193RDEPENDS_${PN}-ptest += "\
188 make diffutils gzip bash gawk coreutils procps \ 194 make diffutils gzip bash gawk coreutils procps \
189 libgcc python-core python-io \ 195 libgcc python3-core python3-io \
190 " 196 "
191RRECOMMENDS_${PN}-ptest += "${TCLIBC}-dbg ${VALGRIND}" 197RRECOMMENDS_${PN}-ptest += "${TCLIBC}-dbg ${VALGRIND}"