Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55152 - trunk/tools/build/v2/test
From: ghost_at_[hidden]
Date: 2009-07-25 02:47:44


Author: vladimir_prus
Date: 2009-07-25 02:47:43 EDT (Sat, 25 Jul 2009)
New Revision: 55152
URL: http://svn.boost.org/trac/boost/changeset/55152

Log:
Properly report failures to add/remove/modify file.

Text files modified:
   trunk/tools/build/v2/test/BoostBuild.py | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/test/BoostBuild.py
==============================================================================
--- trunk/tools/build/v2/test/BoostBuild.py (original)
+++ trunk/tools/build/v2/test/BoostBuild.py 2009-07-25 02:47:43 EDT (Sat, 25 Jul 2009)
@@ -572,7 +572,7 @@
             try:
                 glob_remove(self.unexpected_difference.added_files, name)
             except:
- print "File %s not added as expected" % name
+ annotation("failure", "File %s not added as expected" % name)
                 self.fail_test(1)
 
     def ignore_addition(self, wildcard):
@@ -583,7 +583,7 @@
             try:
                 glob_remove(self.unexpected_difference.removed_files, name)
             except:
- print "File %s not removed as expected" % name
+ annotation("failure", "File %s not removed as expected" % name)
                 self.fail_test(1)
 
     def ignore_removal(self, wildcard):
@@ -594,7 +594,7 @@
             try:
                 glob_remove(self.unexpected_difference.modified_files, name)
             except:
- print "File %s not modified as expected" % name
+ annotation("failure", "File %s not modified as expected" % name)
                 self.fail_test(1)
 
     def ignore_modification(self, wildcard):


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