From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 063BC1382C5 for ; Wed, 19 May 2021 16:31:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 251E6E0869; Wed, 19 May 2021 16:31:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0DFCEE0869 for ; Wed, 19 May 2021 16:31:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CFF00340D32 for ; Wed, 19 May 2021 16:31:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E77C581 for ; Wed, 19 May 2021 16:31:16 +0000 (UTC) From: "Rolf Eike Beer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rolf Eike Beer" Message-ID: <1621438820.0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97.dakon@gentoo> Subject: [gentoo-commits] proj/tatt:master commit in: templates/ X-VCS-Repository: proj/tatt X-VCS-Files: templates/tatt_functions.sh X-VCS-Directories: templates/ X-VCS-Committer: dakon X-VCS-Committer-Name: Rolf Eike Beer X-VCS-Revision: 0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97 X-VCS-Branch: master Date: Wed, 19 May 2021 16:31:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 281c8c78-8835-49a9-be61-a24147a8e0fc X-Archives-Hash: f8f49ad5aa103e361a3142da50acb405 commit: 0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97 Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed May 19 15:40:20 2021 +0000 Commit: Rolf Eike Beer sf-mail de> CommitDate: Wed May 19 15:40:20 2021 +0000 URL: https://gitweb.gentoo.org/proj/tatt.git/commit/?id=0a68e9fa templates/tatt_functions.sh: don't be too verbose when building test deps Also correctly signal failure to the caller when this fails. Signed-off-by: Rolf Eike Beer sf-mail.de> templates/tatt_functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh index 75f6ba4..0e95e9a 100644 --- a/templates/tatt_functions.sh +++ b/templates/tatt_functions.sh @@ -46,9 +46,9 @@ function tatt_test_pkg { if [ "${1:?}" == "--test" ]; then shift - if ! emerge --onlydeps -1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}"; then + if ! emerge --onlydeps -q1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}"; then echo "merging test dependencies of ${1} failed" >> "${TATT_REPORTFILE}" - return 0 + return 1 fi TFEATURES="${FEATURES} test" else