Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/releng:master commit in: tools/
Date: Fri, 29 Apr 2016 18:20:56
Message-Id: 1461954028.a77a4ebce59e97e9f32ad61e77be545c477a2855.robbat2@gentoo
1 commit: a77a4ebce59e97e9f32ad61e77be545c477a2855
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 18:20:28 2016 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 18:20:28 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=a77a4ebc
7
8 catalyst-auto: Record how long the catalyst runs take.
9
10 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
11
12 tools/catalyst-auto | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/tools/catalyst-auto b/tools/catalyst-auto
16 index 823b9f2..b928ac9 100755
17 --- a/tools/catalyst-auto
18 +++ b/tools/catalyst-auto
19 @@ -306,7 +306,7 @@ for a in "" ${SETS}; do
20
21 for i in ${!specs_var}; do
22 LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:' -e 's:\.spec$::').log"
23 - run_cmd "catalyst -a -p -c ${CATALYST_CONFIG} -f ${i}" ${LOGFILE}
24 + run_cmd "time catalyst -a -p -c ${CATALYST_CONFIG} -f ${i}" ${LOGFILE}
25 if [ $? != 0 ]; then
26 build_failure=1
27 send_email "Catalyst fatal build error - ${i}" "" "${LOGFILE}"
28 @@ -316,7 +316,7 @@ for a in "" ${SETS}; do
29
30 for i in ${!optional_specs_var}; do
31 LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:' -e 's:\.spec$::').log"
32 - run_cmd "catalyst -a -p -c ${CATALYST_CONFIG} -f ${i}" ${LOGFILE}
33 + run_cmd "time catalyst -a -p -c ${CATALYST_CONFIG} -f ${i}" ${LOGFILE}
34 if [ $? != 0 ]; then
35 build_failure=1
36 send_email "Catalyst non-fatal build error - ${i}" "" "${LOGFILE}"
37 @@ -326,7 +326,7 @@ for a in "" ${SETS}; do
38
39 for i in ${!specs_var} ${!optional_specs_var}; do
40 LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:' -e 's:\.spec$::')_purge.log"
41 - run_cmd "catalyst -P -c ${CATALYST_CONFIG} -f ${i}" "${LOGFILE}"
42 + run_cmd "time catalyst -P -c ${CATALYST_CONFIG} -f ${i}" "${LOGFILE}"
43 done
44
45 done