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: Thu, 02 Jan 2020 21:25:55
Message-Id: 1578000309.68712a990b7ec0111d0f82019aed36c3ba5c11c2.grobian@gentoo
1 commit: 68712a990b7ec0111d0f82019aed36c3ba5c11c2
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 2 21:25:09 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 2 21:25:09 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=68712a99
7
8 tests: fix retrieving test name
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 tests/init.sh.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/tests/init.sh.in b/tests/init.sh.in
16 index c5cd8f3..7f5db06 100644
17 --- a/tests/init.sh.in
18 +++ b/tests/init.sh.in
19 @@ -35,7 +35,7 @@ q -i -q
20 # used by Travis segfaults on qmanifest, so disable there to be able to
21 # run the rest regularly
22 dovalgrind=${Q_RUN_WITH_VALGRIND}
23 -[[ ${TRAVIS_OS_NAME}:${a} == linux:qmanifest ]] && dovalgrind=
24 +[[ ${TRAVIS_OS_NAME}:${as##*/} == linux:qmanifest ]] && dovalgrind=
25 if [[ -n ${dovalgrind} ]] ; then
26 chmod 755 "@abs_top_srcdir@/tests/valgrind-wrapper/qvalgrind"
27 for f in @abs_top_builddir@/q?* ; do