public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rolf Eike Beer" <eike@sf-mail.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tatt:master commit in: templates/
Date: Wed, 19 May 2021 16:31:16 +0000 (UTC)	[thread overview]
Message-ID: <1621438820.0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97.dakon@gentoo> (raw)

commit:     0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Wed May 19 15:40:20 2021 +0000
Commit:     Rolf Eike Beer <eike <AT> sf-mail <DOT> 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 <eike <AT> 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


             reply	other threads:[~2021-05-19 16:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 16:31 Rolf Eike Beer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-25  3:46 [gentoo-commits] proj/tatt:master commit in: templates/ Sam James
2023-04-25  3:46 Sam James
2021-10-31 22:11 Sam James
2021-07-04 15:43 Rolf Eike Beer
2021-06-29 16:23 Rolf Eike Beer
2021-06-17 22:04 Sam James
2021-03-04  0:26 Sam James
2021-03-04  0:21 Sam James
2021-02-17  3:09 Sam James
2020-01-02 21:00 Rolf Eike Beer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1621438820.0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97.dakon@gentoo \
    --to=eike@sf-mail.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox