commit:     d0e3592a032d607f2668d89fde671110586c3b90
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon May 25 19:05:51 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon May 25 19:05:51 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=d0e3592a

tests/init: re-enact valgrind block on Travis

Somehow Travis env cannot be replicated, and still has a coredumping
valgrind

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 tests/init.sh.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/init.sh.in b/tests/init.sh.in
index 6cdfccf..8b67070 100644
--- a/tests/init.sh.in
+++ b/tests/init.sh.in
@@ -35,6 +35,8 @@ q -i -q
 # used by Travis segfaults on qmanifest and qcheck, so disable there to
 # be able to run the rest regularly
 dovalgrind=${Q_RUN_WITH_VALGRIND}
+[[ ${TRAVIS_OS_NAME}:${as##*/} == linux:qmanifest ]] && dovalgrind=
+[[ ${TRAVIS_OS_NAME}:${as##*/} == linux:qcheck ]] && dovalgrind=
 if [[ -n ${dovalgrind} ]] ; then
        chmod 755 "@abs_top_srcdir@/tests/valgrind-wrapper/qvalgrind"
        for f in @abs_top_builddir@/q?* ; do

Reply via email to