|
Boost-Commit : |
From: dave_at_[hidden]
Date: 2007-12-07 21:14:17
Author: dave
Date: 2007-12-07 21:14:16 EST (Fri, 07 Dec 2007)
New Revision: 41855
URL: http://svn.boost.org/trac/boost/changeset/41855
Log:
Port to Windows
Text files modified:
branches/bitten/tools/regression/src/bitten_reports.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
Modified: branches/bitten/tools/regression/src/bitten_reports.py
==============================================================================
--- branches/bitten/tools/regression/src/bitten_reports.py (original)
+++ branches/bitten/tools/regression/src/bitten_reports.py 2007-12-07 21:14:16 EST (Fri, 07 Dec 2007)
@@ -24,7 +24,12 @@
elem.tail = i
def lib_subdir_and_test_name_from_target(target_name):
+ """Returns a tuple containing the subdirectory of $BOOST_ROOT/libs in which
+the test is defined and the name of the test. This whole function is something
+of a hack: this information should be derived in a more principled manner, and
+not from the target name."""
l = []
+ target_name.replace('\\','/')
p = target_name.split('/')
for x in p[p.index('libs')+1:]:
if x.endswith('.test'):
@@ -32,7 +37,7 @@
l.append(x)
return None
-
+
def create_bitten_reports(input_filename, failure_markup):
failed = False
results = test_results.TestResults(open(input_filename))
@@ -67,7 +72,6 @@
print 'Marked', target, 'because of markup:', '\n'.join(
[ET.tostring(x) for x in i])
status = 'marked'
- print 'report status:', (status == 'failed') and 'failure' or 'success'
if status == 'failed':
bitten_status = 'failure'
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