commit: 26cae8488b7a38fb8577952572868a03fd415709
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 28 04:50:52 2014 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Aug 28 04:50:52 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=26cae848
tinderbox: add an option to be more verbose
---
tinderbox/bashrc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tinderbox/bashrc b/tinderbox/bashrc
index 71da78e..560c3fd 100644
--- a/tinderbox/bashrc
+++ b/tinderbox/bashrc
@@ -62,6 +62,7 @@
: ${DEPCHECK_BIN:="/usr/bin/depcheck"}
: ${TINDERBOX_DIR:="/var/log/tinderbox"}
+: ${TINDERBOX_VERBOSE:=true}
PACKAGE_DATA_DIR="${TINDERBOX_DIR}/${CATEGORY}/${PN}"
BUILD_DATA_DIR="${PACKAGE_DATA_DIR}/${PF}/$(cat /proc/sys/kernel/random/uuid)"
@@ -115,6 +116,9 @@ tinderbox_postinst_checks() {
if type -P "${DEPCHECK_BIN}" > /dev/null ; then
SANDBOX_ON=0 "${DEPCHECK_BIN}" ${PF} >
"${BUILD_DATA_DIR}"/depcheck
+ if [[ "${TINDERBOX_VERBOSE}" == true ]] ; then
+ cat "${BUILD_DATA_DIR}"/depcheck
+ fi
fi
}