From: "Diego Elio Pettenò" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/flameeyes-tinderbox:master commit in: /
Date: Sun, 15 Jul 2012 10:28:18 +0000 (UTC) [thread overview]
Message-ID: <1342348085.f8fa9cc0e886ab584f12e77c33471b7d0129d9a2.flameeyes@gentoo> (raw)
commit: f8fa9cc0e886ab584f12e77c33471b7d0129d9a2
Author: Diego Elio Pettenò <flameeyes <AT> flameeyes <DOT> eu>
AuthorDate: Sun Jul 15 10:28:05 2012 +0000
Commit: Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 10:28:05 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/flameeyes-tinderbox.git;a=commit;h=f8fa9cc0
Make it more generic and more reliable to pick up autotools failure logs.
---
bashrc | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/bashrc b/bashrc
index 4ad5bba..c1ae0eb 100755
--- a/bashrc
+++ b/bashrc
@@ -63,13 +63,18 @@ tinderbox_failed() {
dent_me "${CATEGORY}/${PF} merge #failed$(tinderbox_stats)"
SANDBOX_ON=0 sed -i -e "\$a =${CATEGORY}/${PF}" /etc/portage/package.mask/currentrun
- # check if this is an automake failure and if so, get the whole log inlined
- if fgrep -q "/temp/automake.out" "${PORTAGE_LOG_FILE}"; then
- cat "${T}"/automake.out
- fi
- if fgrep -q "/temp/aclocal.out" "${PORTAGE_LOG_FILE}"; then
- cat "${T}"/aclocal.out
- fi
+ # check if this is an autotools failure and if so, get the whole log inlined
+ for filename in {autoconf,automake,aclocal}{,-1}; do
+ if fgrep -q "/temp/${filename}.out" "${PORTAGE_LOG_FILE}"; then
+ cat - <<EOF
+######## ${filename}.out ########
+EOF
+ cat "${T}"/${filename}.out
+ cat - <<EOF
+#################################
+EOF
+ fi
+ done
tinderbox_send_log
}
next reply other threads:[~2012-07-15 10:28 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-15 10:28 Diego Elio Pettenò [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-03-05 13:42 [gentoo-commits] proj/flameeyes-tinderbox:master commit in: / Diego Elio Pettenò
2013-02-19 20:39 Diego Elio Pettenò
2013-01-26 14:49 Diego Elio Pettenò
2013-01-26 1:15 Diego Elio Pettenò
2013-01-26 0:23 Diego Elio Pettenò
2013-01-26 0:23 Diego Elio Pettenò
2013-01-26 0:23 Diego Elio Pettenò
2012-11-01 18:51 Diego Elio Pettenò
2012-11-01 16:54 Diego Elio Pettenò
2012-07-15 10:31 Diego Elio Pettenò
2012-06-22 19:49 Diego Elio Pettenò
2012-06-22 19:49 Diego Elio Pettenò
2012-06-22 19:46 Diego Elio Pettenò
2012-06-21 10:48 Diego Elio Pettenò
2012-06-19 18:59 Diego Elio Pettenò
2012-06-16 14:57 Diego Elio Pettenò
2012-06-16 14:51 Diego Elio Pettenò
2012-06-16 14:48 Diego Elio Pettenò
2012-06-16 14:45 Diego Elio Pettenò
2012-06-16 14:39 Diego Elio Pettenò
2012-06-16 14:39 Diego Elio Pettenò
2012-06-15 15:09 Diego Elio Pettenò
2012-06-15 15:09 Diego Elio Pettenò
2012-06-15 15:09 Diego Elio Pettenò
2012-05-18 16:03 Diego Elio Pettenò
2012-05-18 15:56 Diego Elio Pettenò
2012-05-18 15:56 Diego Elio Pettenò
2012-05-18 15:56 Diego Elio Pettenò
2012-05-18 4:32 Diego Elio Pettenò
2012-05-18 4:07 Diego Elio Pettenò
2012-05-18 4:07 Diego Elio Pettenò
2011-08-07 12:23 Diego Elio Pettenò
2011-05-28 9:09 Diego Elio Pettenò
2011-05-03 14:54 Diego Elio Pettenò
2011-05-03 14:54 Diego Elio Pettenò
2011-04-13 12:50 Diego Elio Pettenò
2011-03-22 17:09 Jeremy Olexa
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=1342348085.f8fa9cc0e886ab584f12e77c33471b7d0129d9a2.flameeyes@gentoo \
--to=flameeyes@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