From: Tupone Alfredo Date: Tue, 18 Jun 2019 06:07:34 +0000 (+0200) Subject: dev-ada/langkit: more log for test phase X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4aa16f974062664dd4ff05c14e0bfb10f93c8e3d;p=gentoo.git dev-ada/langkit: more log for test phase Signed-off-by: Alfredo Tupone Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- diff --git a/dev-ada/langkit/langkit-2018.ebuild b/dev-ada/langkit/langkit-2018.ebuild index 3eeaca02add9..6fe74a78bc9a 100644 --- a/dev-ada/langkit/langkit-2018.ebuild +++ b/dev-ada/langkit/langkit-2018.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -35,7 +35,8 @@ S="${WORKDIR}"/${MYP}-src PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) src_test() { - testsuite/testsuite.py | grep FAILED && die "Test failed" + testsuite/testsuite.py --show-error-output | tee testsuite.log + grep -q FAILED testsuite.log && die "Test failed" } src_install() { diff --git a/dev-ada/langkit/langkit-2019.ebuild b/dev-ada/langkit/langkit-2019.ebuild index a3dcb795c069..1cc699ee20a6 100644 --- a/dev-ada/langkit/langkit-2019.ebuild +++ b/dev-ada/langkit/langkit-2019.ebuild @@ -36,7 +36,7 @@ S="${WORKDIR}"/${MYP}-src PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) src_test() { - testsuite/testsuite.py --show-error-output misc | tee testsuite.log + testsuite/testsuite.py --show-error-output | tee testsuite.log grep -q FAILED testsuite.log && die "Test failed" }