Skip to content

Commit

Permalink
dev-ada/langkit: more log for test phase
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
  • Loading branch information
atupone committed Jun 18, 2019
1 parent 87c87cc commit 4aa16f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dev-ada/langkit/langkit-2018.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion dev-ada/langkit/langkit-2019.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 4aa16f9

Please sign in to comment.