[Xquartz-changes] [544] tinderbox/tinderbox_test.sh
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 29 15:23:49 PDT 2011
Revision: 544
http://trac.macosforge.org/projects/xquartz/changeset/544
Author: jeremyhu at freedesktop.org
Date: 2011-04-29 15:23:49 -0700 (Fri, 29 Apr 2011)
Log Message:
-----------
Upload fixes
Modified Paths:
--------------
tinderbox/tinderbox_test.sh
Modified: tinderbox/tinderbox_test.sh
===================================================================
--- tinderbox/tinderbox_test.sh 2011-04-28 08:44:05 UTC (rev 543)
+++ tinderbox/tinderbox_test.sh 2011-04-29 22:23:49 UTC (rev 544)
@@ -75,22 +75,23 @@
rsync --archive --force --whole-file --delete --delete-after --verbose --compress ${JHBUILDDIR}/${1}/ jeremyhu at people.freedesktop.org:w/${1}
}
-upload_analyzer_pipe() {
+upload_analyzer_results() {
if [[ ! -r ${JHBUILDDIR}/fdo.rsa ]] ; then
- cat
return 0
fi
+ rmdir ${JHBUILDDIR}/analyzer/${CONFIG}/* >& /dev/null
+
eval $(/usr/bin/ssh-agent -s)
/usr/bin/ssh-add "${JHBUILDDIR}/fdo.rsa"
- perl -n -e "if(m/scan-build: Run 'scan-view .*\/(analyzer\/.*)' to examine bug reports\./) { print \$1.\"\n\";}" |
- while read path ; do
- upload_analyzer "${path}" < /dev/null
- done
+ #perl -n -e "if(m/scan-build: Run 'scan-view .*\/(analyzer\/.*)' to examine bug reports\./) { print \$1.\"\n\";}" |
+ #while read path ; do
+ # upload_analyzer "${path}" < /dev/null
+ #done
# Do one final rsync to sync old log removal
- upload_analyzer analyzer/yuffie
+ upload_analyzer analyzer/${CONFIG}
kill ${SSH_AGENT_PID}
}
@@ -99,9 +100,11 @@
#$JHBUILD build --autogen --clean
#$JHBUILD build --autogen --clean --start-at=xserver
#$JHBUILD autobuild --autogen --verbose --report-url="${URL}"
-$JHBUILD autobuild --autogen --clean --verbose --report-url="${URL}" | upload_analyzer_pipe
+$JHBUILD autobuild --autogen --clean --verbose --report-url="${URL}"
+upload_analyzer_results
+
# Delete, so LS doesn't find it accidentally
if [[ $CONFIG = "yuffie" ]] ; then
- rm -rf "${JHBUILD_DIR}/build/Applications"
+ rm -rf "${JHBUILDDIR}/build/Applications"
fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20110429/9282d281/attachment.html>
More information about the Xquartz-changes
mailing list