subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1375089 - /subversion/trunk/build/run_tests.py
Date Mon, 20 Aug 2012 16:17:06 GMT
Author: danielsh
Date: Mon Aug 20 16:17:05 2012
New Revision: 1375089

URL: http://svn.apache.org/viewvc?rev=1375089&view=rev
Log:
In 'make check', print a one-bit summary, to mitigate repeated users@ question
about "does XFAIL > 0 || SKIP > 0 in the outupt represent a problem?".

* build/run_tests.py
  (TestHarness.run): Print a one-bit summary as the output's last line.


Modified:
    subversion/trunk/build/run_tests.py

Modified: subversion/trunk/build/run_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/run_tests.py?rev=1375089&r1=1375088&r2=1375089&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Mon Aug 20 16:17:05 2012
@@ -317,6 +317,12 @@ class TestHarness:
       print("WARNING: no failures, but '%s' exists from a previous run."
             % self.faillogfile)
 
+    # Summary.
+    if xpassed or failed_list:
+      print("SUMMARY: Some tests failed.\n")
+    else:
+      print("SUMMARY: All tests successful.\n")
+
     self._close_log()
     return failed
 



Mime
View raw message