|
Boost-Commit : |
From: grafikrobot_at_[hidden]
Date: 2007-09-12 00:22:00
Author: grafik
Date: 2007-09-12 00:21:57 EDT (Wed, 12 Sep 2007)
New Revision: 39204
URL: http://svn.boost.org/trac/boost/changeset/39204
Log:
Add regression result pages automation script.
Added:
trunk/tools/regression/xsl_reports/build_results.sh (contents, props changed)
Added: trunk/tools/regression/xsl_reports/build_results.sh
==============================================================================
--- (empty file)
+++ trunk/tools/regression/xsl_reports/build_results.sh 2007-09-12 00:21:57 EDT (Wed, 12 Sep 2007)
@@ -0,0 +1,50 @@
+#!/bin/sh
+
+#~ Copyright Redshift Software, Inc. 2007
+#~ Distributed under the Boost Software License, Version 1.0.
+#~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+
+set -e
+
+build_all()
+{
+ update_tools ${1}
+ build_results ${1}
+ upload_results ${1}
+}
+
+update_tools()
+{
+ cwd=`pwd`
+ cd ${1}/boost
+ svn up
+ cd "${cwd}"
+}
+
+build_results()
+{
+ cwd=`pwd`
+ cd ${1}
+ root=`pwd`
+ boost=${root}/boost
+ python "${boost}/tools/regression/xsl_reports/boost_wide_report.py" \
+ --locate-root="${root}" \
+ --tag=${1} \
+ --expected-results="${boost}/status/expected_results.xml" \
+ --failures-markup="${boost}/status/explicit-failures-markup.xml" \
+ --comment="" \
+ --user=""
+ cd "${cwd}"
+}
+
+upload_results()
+{
+ cwd=`pwd`
+ cd ${1}/all
+ rm -f ../../${1}.zip
+ zip -r9 ../../${1} *
+ cd "${cwd}"
+ scp ${1}.zip beta.boost.org:/home/grafik/www.boost.org/testing/incoming/
+}
+
+build_all trunk
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk