|
Boost-Commit : |
From: ghost_at_[hidden]
Date: 2007-09-07 20:26:18
Author: vladimir_prus
Date: 2007-09-07 20:26:18 EDT (Fri, 07 Sep 2007)
New Revision: 39166
URL: http://svn.boost.org/trac/boost/changeset/39166
Log:
Print test results summary at the end
Text files modified:
trunk/tools/build/v2/test/test_all.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 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 2007-09-07 20:26:18 EDT (Fri, 07 Sep 2007)
@@ -37,6 +37,7 @@
invocation_dir = os.getcwd()
+ pass_count = 0
failures_count = 0
for i in all_tests:
print ("%-25s : " %(i)),
@@ -56,11 +57,18 @@
continue
print "PASSED"
BoostBuild.flush_annotations();
+ pass_count = pass_count + 1
sys.stdout.flush() # makes testing under emacs more entertaining.
# Erase the file on success
if failures_count == 0:
open('test_results.txt', 'w')
+
+ print """
+ === Test summary ===
+ PASS: %d
+ FAIL: %d
+ """ % (pass_count, failures_count)
def last_failed_test():
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