aboutsummaryrefslogtreecommitdiff
path: root/jenkins.sh
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2014-05-19 19:05:44 -0600
committerRob Savoye <rob.savoye@linaro.org>2014-05-19 19:05:44 -0600
commitc885e48f8d5b20e843922ccf4893ac5c54dde712 (patch)
tree03adc134af09d5d14cb4406a3a5a489e5fddf91f /jenkins.sh
parent42e121ce947f9f9fa281ce76be34754d9c244f30 (diff)
copy check.log to toolchain too, so tcwegweb.sh can scan them for build errors
Change-Id: I45237002aa0fbf2ec167c4407d1885e608252b1c
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-xjenkins.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/jenkins.sh b/jenkins.sh
index db661e3..2f0eb05 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -192,7 +192,10 @@ manifest="`find ${WORKSPACE} -name manifest.txt`"
if test x"${manifest}" != x; then
echo "node=${node}" >> ${manifest}
echo "requestor=${requestor}" >> ${manifest}
- revision="-`grep 'gcc_revision=' ${manifest} | cut -d '=' -f 2 | tr -s ' '`"
+ revision="`grep 'gcc_revision=' ${manifest} | cut -d '=' -f 2 | tr -s ' '`"
+ if test x"${revision}" != x; then
+ revision="`${revision}`"
+ fi
if test x"${BUILD_USER_ID}" != x; then
echo "email=${BUILD_USER_ID}" >> ${manifest}
fi
@@ -231,7 +234,7 @@ fi
sums="`find ${WORKSPACE} -name *.sum`"
if test "`echo ${sums} | grep -c gcc.sum`" -eq 0 -a x"${runtests}" = xtrue; then
- echo "ERROR: GCC testsuite wasn't run!"
+ echo "ERROR: GCC testsuite was not run!"
exit 1
fi
@@ -251,6 +254,10 @@ fi
# This setups all the files needed by tcwgweb
if test x"${sums}" != x; then
scp ${sums} toolchain64.lab:${basedir}/${dir}/
+
+ # Copy over the logs from make check, which we need to find testcase errors.
+ checks="`find ${WORKSPACE} -name check.log`"
+ scp ${checks} toolchain64.lab:${basedir}/${dir}/
# Copy over the build logs
logs="`find ${WORKSPACE} -name make.log`"