|
Boost-Commit : |
From: daniel_at_[hidden]
Date: 2007-11-19 20:05:48
Author: danielw
Date: 2007-11-19 20:05:48 EST (Mon, 19 Nov 2007)
New Revision: 41244
URL: http://svn.boost.org/trac/boost/changeset/41244
Log:
Fixed wrong value used for failed tests.
Text files modified:
branches/bitten/tools/regression/src/collect_and_upload_logs.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: branches/bitten/tools/regression/src/collect_and_upload_logs.py
==============================================================================
--- branches/bitten/tools/regression/src/collect_and_upload_logs.py (original)
+++ branches/bitten/tools/regression/src/collect_and_upload_logs.py 2007-11-19 20:05:48 EST (Mon, 19 Nov 2007)
@@ -197,8 +197,9 @@
continue
fixture = os.path.split(r[0])[1]
+ status = {'success': 'success', 'failed': 'failure'}.get(r[1])
test = ET.SubElement(report, 'test', duration="0",
- fixture=fixture, name=r[0], file=r[0], status=r[1])
+ fixture=fixture, name=r[0], file=r[0], status=status)
if r[1] == 'failed':
stdout = ET.SubElement(test, 'stdout')
output = str(r[2][0][2])
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