Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-08-18 13:11:08


Author: grafik
Date: 2007-08-18 13:11:07 EDT (Sat, 18 Aug 2007)
New Revision: 38755
URL: http://svn.boost.org/trac/boost/changeset/38755

Log:
Guard against empty result files.
Text files modified:
   trunk/tools/regression/xsl_reports/runner/collect_and_upload_logs.py | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/tools/regression/xsl_reports/runner/collect_and_upload_logs.py
==============================================================================
--- trunk/tools/regression/xsl_reports/runner/collect_and_upload_logs.py (original)
+++ trunk/tools/regression/xsl_reports/runner/collect_and_upload_logs.py 2007-08-18 13:11:07 EDT (Sat, 18 Aug 2007)
@@ -90,6 +90,8 @@
                 if dart_server:
                     log_xml = open(os.path.join(dir,file)).read().translate(ascii_only_table)
                     #~ utils.log( '--- XML:\n%s' % log_xml)
+ #~ It seems possible to get an empty XML result file :-(
+ if log_xml == "": continue
                     log_dom = xml.dom.minidom.parseString(log_xml)
                     test = {
                         'library': log_dom.documentElement.getAttribute('library'),


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