public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/releng:master commit in: tools-musl/
Date: Wed, 13 Aug 2014 14:28:49 +0000 (UTC)	[thread overview]
Message-ID: <1407940243.5dd1c99047e1385356fcce0b6f00c3a5f72f0f35.blueness@gentoo> (raw)

commit:     5dd1c99047e1385356fcce0b6f00c3a5f72f0f35
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 14:30:43 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 14:30:43 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=commit;h=5dd1c990

tools-musl: fix error handling for failed stage

---
 tools-musl/run-armv7a.sh  |  9 +++------
 tools-musl/run-mipsel3.sh | 10 +++-------
 2 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/tools-musl/run-armv7a.sh b/tools-musl/run-armv7a.sh
index ad4fa3a..29c1fbf 100755
--- a/tools-musl/run-armv7a.sh
+++ b/tools-musl/run-armv7a.sh
@@ -51,15 +51,12 @@ main() {
       prepare_confs ${arch} ${flavor}
     done
   done
-  
+
+  # No parallelization for arm.  Its too hard on the cpu!
   for arch in armv7a_hardfp; do
     for flavor in hardened vanilla; do
       do_stages ${arch} ${flavor}
-      ret=$?
-      if [[ $? == 1 ]]; then
-         echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
-         return 1
-      fi
+      [[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
     done
   done
 }

diff --git a/tools-musl/run-mipsel3.sh b/tools-musl/run-mipsel3.sh
index 3d70505..50e5d57 100755
--- a/tools-musl/run-mipsel3.sh
+++ b/tools-musl/run-mipsel3.sh
@@ -33,7 +33,6 @@ prepare_confs() {
 }
 
 
-
 main() {
   >zzz.log
 
@@ -44,15 +43,12 @@ main() {
       prepare_confs ${arch} ${flavor}
     done
   done
-  
+
+  # No parallelization for mips.  Its too hard on the cpu!
   for arch in mipsel3; do
     for flavor in vanilla; do
       do_stages ${arch} ${flavor}
-      ret=$?
-      if [[ $? == 1 ]]; then
-         echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
-         return 1
-      fi
+      [[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
     done
   done
 }


             reply	other threads:[~2014-08-13 14:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13 14:28 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-14 19:11 [gentoo-commits] proj/releng:master commit in: tools-musl/ Anthony G. Basile
2019-05-24  3:50 Matthew Thode
2019-04-13 10:54 Anthony G. Basile
2019-04-11  1:37 Anthony G. Basile
2018-03-02 16:25 Anthony G. Basile
2017-01-05  5:41 Matt Thode
2017-01-03  3:01 Matt Thode
2017-01-02 23:59 Matt Thode
2017-01-02  4:30 Matt Thode
2017-01-02  4:21 Matt Thode
2017-01-02  4:08 Matt Thode
2016-06-04 16:07 Anthony G. Basile
2015-12-07  0:54 Anthony G. Basile
2015-06-14 21:32 Anthony G. Basile
2015-06-14 21:01 Anthony G. Basile
2015-01-20 23:38 Anthony G. Basile
2014-08-18 21:59 Robin H. Johnson
2014-08-18 21:59 Robin H. Johnson
2014-08-11 22:43 Anthony G. Basile
2014-06-28 10:43 Anthony G. Basile
2014-06-18 11:14 Anthony G. Basile
2014-02-18 21:04 Anthony G. Basile
2014-02-06 13:06 Anthony G. Basile
2014-02-05 20:13 Anthony G. Basile
2014-02-05 20:11 Anthony G. Basile

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=1407940243.5dd1c99047e1385356fcce0b6f00c3a5f72f0f35.blueness@gentoo \
    --to=blueness@gentoo.org \
    --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