Boost logo

Boost-Commit :

From: dave_at_[hidden]
Date: 2007-11-24 12:33:26


Author: dave
Date: 2007-11-24 12:33:26 EST (Sat, 24 Nov 2007)
New Revision: 41334
URL: http://svn.boost.org/trac/boost/changeset/41334

Log:
Account for actions that get no <output>...</output> clause. That happens for mkdir commands, for example.

Text files modified:
   branches/bitten/tools/regression/src/test_results.py | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: branches/bitten/tools/regression/src/test_results.py
==============================================================================
--- branches/bitten/tools/regression/src/test_results.py (original)
+++ branches/bitten/tools/regression/src/test_results.py 2007-11-24 12:33:26 EST (Sat, 24 Nov 2007)
@@ -88,7 +88,8 @@
                     properties[p.get('name')] = p.text
 
                 name = self._as_absolute_path(target.text)
- self.results[name] = (status == '0', command.text, output.text, properties)
+ self.results[name] = (status == '0', command.text,
+ output and output.text or '', properties)
                 elem.clear()
 
     def _follow_dependencies(self, target):


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