Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-11-09 19:11:12


Author: grafik
Date: 2007-11-09 19:11:12 EST (Fri, 09 Nov 2007)
New Revision: 40978
URL: http://svn.boost.org/trac/boost/changeset/40978

Log:
Add some machine info and previous run time to report info page.
Text files modified:
   trunk/tools/regression/xsl_reports/build_results.sh | 60 +++++++++++++++++++++++++++++++++++++++
   1 files changed, 59 insertions(+), 1 deletions(-)

Modified: trunk/tools/regression/xsl_reports/build_results.sh
==============================================================================
--- trunk/tools/regression/xsl_reports/build_results.sh (original)
+++ trunk/tools/regression/xsl_reports/build_results.sh 2007-11-09 19:11:12 EST (Fri, 09 Nov 2007)
@@ -21,6 +21,62 @@
     cd "${cwd}"
 }
 
+report_info()
+{
+cat - > comment.html <<HTML
+<table style="border-spacing: 0.5em;">
+ <tr>
+ <td style="vertical-align: top;"><tt>uname</tt></td>
+ <td>
+ <pre style="border: 1px solid #666; overflow: auto;">
+`uname -a`
+ </pre>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><tt>uptime</tt></td>
+ <td>
+ <pre style="border: 1px solid #666; overflow: auto;">
+`uptime`
+ </pre>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><tt>vmstat</tt></td>
+ <td>
+ <pre style="border: 1px solid #666; overflow: auto;">
+`vmstat`
+ </pre>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><tt>xsltproc</tt></td>
+ <td>
+ <pre style="border: 1px solid #666; overflow: auto;">
+`xsltproc --version`
+ </pre>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><tt>python</tt></td>
+ <td>
+ <pre style="border: 1px solid #666; overflow: auto;">
+`python --version 2>&1`
+ </pre>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;">previous run</td>
+ <td>
+ <pre style="border: 1px solid #666; overflow: auto;">
+`cat previous.txt`
+ </pre>
+ </td>
+ </tr>
+</table>
+HTML
+}
+
 build_results()
 {
     cwd=`pwd`
@@ -31,13 +87,15 @@
         trunk) tag=trunk ;;
         release) tag=branches/release ;;
     esac
+ report_info
     python "${boost}/tools/regression/xsl_reports/boost_wide_report.py" \
         --locate-root="${root}" \
         --tag=${tag} \
         --expected-results="${boost}/status/expected_results.xml" \
         --failures-markup="${boost}/status/explicit-failures-markup.xml" \
- --comment="" \
+ --comment="comment.html" \
         --user=""
+ date -u > previous.txt
     cd "${cwd}"
 }
 


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