Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qa-scripts:master commit in: tinderbox/
Date: Thu, 28 Aug 2014 04:51:05
Message-Id: 1409201452.26cae8488b7a38fb8577952572868a03fd415709.kensington@gentoo
1 commit: 26cae8488b7a38fb8577952572868a03fd415709
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 28 04:50:52 2014 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 28 04:50:52 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=26cae848
7
8 tinderbox: add an option to be more verbose
9
10 ---
11 tinderbox/bashrc | 4 ++++
12 1 file changed, 4 insertions(+)
13
14 diff --git a/tinderbox/bashrc b/tinderbox/bashrc
15 index 71da78e..560c3fd 100644
16 --- a/tinderbox/bashrc
17 +++ b/tinderbox/bashrc
18 @@ -62,6 +62,7 @@
19
20 : ${DEPCHECK_BIN:="/usr/bin/depcheck"}
21 : ${TINDERBOX_DIR:="/var/log/tinderbox"}
22 +: ${TINDERBOX_VERBOSE:=true}
23
24 PACKAGE_DATA_DIR="${TINDERBOX_DIR}/${CATEGORY}/${PN}"
25 BUILD_DATA_DIR="${PACKAGE_DATA_DIR}/${PF}/$(cat /proc/sys/kernel/random/uuid)"
26 @@ -115,6 +116,9 @@ tinderbox_postinst_checks() {
27
28 if type -P "${DEPCHECK_BIN}" > /dev/null ; then
29 SANDBOX_ON=0 "${DEPCHECK_BIN}" ${PF} > "${BUILD_DATA_DIR}"/depcheck
30 + if [[ "${TINDERBOX_VERBOSE}" == true ]] ; then
31 + cat "${BUILD_DATA_DIR}"/depcheck
32 + fi
33 fi
34 }