Changeset: c0865318eb1a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c0865318eb1a
Modified Files:
        testing/Mtest.py.in
Branch: Aug2011
Log Message:

Mtest: report total count of failed tests

Apart from giving some total information, this also directly enables the
status view to list number of failed tests in the tooltips.


diffs (21 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -3642,7 +3642,7 @@
         if Failed:
             print """\
 
- !ERROR:  Testing FAILED %s !
+ !ERROR:  Testing FAILED %s (%d out of %d tests failed)
 
 %s
  First, check the testing results in  %s  !
@@ -3653,7 +3653,7 @@
   - approving test output by Mapprove.py (cf. Mapprove.py -?)
 
  After that, re-run Mtest.
-""" % (how, what, os.path.join(env['TSTTRGBASE'],TSTPREF,"index.html"))
+""" % (how, Failed, num_tests, what, 
os.path.join(env['TSTTRGBASE'],TSTPREF,"index.html"))
             sys.exit(1)
         else:
             if not quiet:
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to