From 4aa16f974062664dd4ff05c14e0bfb10f93c8e3d Mon Sep 17 00:00:00 2001 From: Tupone Alfredo Date: Tue, 18 Jun 2019 08:07:34 +0200 Subject: [PATCH] dev-ada/langkit: more log for test phase Signed-off-by: Alfredo Tupone Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- dev-ada/langkit/langkit-2018.ebuild | 5 +++-- dev-ada/langkit/langkit-2019.ebuild | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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" } -- 2.26.2