Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: tests/
Date: Mon, 25 May 2020 19:07:00
Message-Id: 1590433551.d0e3592a032d607f2668d89fde671110586c3b90.grobian@gentoo
1 commit: d0e3592a032d607f2668d89fde671110586c3b90
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 25 19:05:51 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Mon May 25 19:05:51 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=d0e3592a
7
8 tests/init: re-enact valgrind block on Travis
9
10 Somehow Travis env cannot be replicated, and still has a coredumping
11 valgrind
12
13 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
14
15 tests/init.sh.in | 2 ++
16 1 file changed, 2 insertions(+)
17
18 diff --git a/tests/init.sh.in b/tests/init.sh.in
19 index 6cdfccf..8b67070 100644
20 --- a/tests/init.sh.in
21 +++ b/tests/init.sh.in
22 @@ -35,6 +35,8 @@ q -i -q
23 # used by Travis segfaults on qmanifest and qcheck, so disable there to
24 # be able to run the rest regularly
25 dovalgrind=${Q_RUN_WITH_VALGRIND}
26 +[[ ${TRAVIS_OS_NAME}:${as##*/} == linux:qmanifest ]] && dovalgrind=
27 +[[ ${TRAVIS_OS_NAME}:${as##*/} == linux:qcheck ]] && dovalgrind=
28 if [[ -n ${dovalgrind} ]] ; then
29 chmod 755 "@abs_top_srcdir@/tests/valgrind-wrapper/qvalgrind"
30 for f in @abs_top_builddir@/q?* ; do