dev-ada/langkit: more log for test phase
authorTupone Alfredo <tupone@gentoo.org>
Tue, 18 Jun 2019 06:07:34 +0000 (08:07 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 18 Jun 2019 06:07:34 +0000 (08:07 +0200)
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ada/langkit/langkit-2018.ebuild
dev-ada/langkit/langkit-2019.ebuild

index 3eeaca02add901506fd7864cf2c56fb2dd7c0f44..6fe74a78bc9a88b40bb3fb7460726f462c6eeec5 100644 (file)
@@ -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() {
index a3dcb795c069a2032edbb065e14af273ad89b9a1..1cc699ee20a637afeb54893b8e2f178e0bb19f12 100644 (file)
@@ -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"
 }