summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-06-16 16:38:57 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-06-16 16:38:57 +0200
commitc1bcfdbf405f07d53e23e81875bfdc804d93337d (patch)
tree7f828c7f8e1ddec7a9c7ca5fd4c6e81d9601eb63
parentNo-op on log sending when the analysis address is unset. (diff)
downloadflameeyes-tinderbox-c1bcfdbf405f07d53e23e81875bfdc804d93337d.tar.gz
flameeyes-tinderbox-c1bcfdbf405f07d53e23e81875bfdc804d93337d.tar.bz2
flameeyes-tinderbox-c1bcfdbf405f07d53e23e81875bfdc804d93337d.zip
If we have an automake failure, inline the log file, this way we don't have to hunt for it.
-rwxr-xr-xbashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index f84bb64..6f1ed40 100755
--- a/bashrc
+++ b/bashrc
@@ -62,6 +62,11 @@ 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 grep -f -q "/temp/automake.out" "${PORTAGE_LOG_FILE}"; then
+ cat "${T}"/automake.log
+ fi
+
tinderbox_send_log
}