Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51396 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2009-02-22 12:36:30


Author: jurko
Date: 2009-02-22 12:36:30 EST (Sun, 22 Feb 2009)
New Revision: 51396
URL: http://svn.boost.org/trac/boost/changeset/51396

Log:
Makes the Boost Build testing system correctly report the number of passed test cases instead of reporting all test cases as passed.
Text files modified:
   trunk/tools/build/v2/test/test_all.py | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/test/test_all.py
==============================================================================
--- trunk/tools/build/v2/test/test_all.py (original)
+++ trunk/tools/build/v2/test/test_all.py 2009-02-22 12:36:30 EST (Sun, 22 Feb 2009)
@@ -80,8 +80,8 @@
 </run>
 </test-log>
 """
-
- pass_count = pass_count + 1
+ if passed:
+ pass_count = pass_count + 1
         sys.stdout.flush() # Makes testing under emacs more entertaining.
 
     # Erase the file on success.


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