You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/08/20 18:17:06 UTC
svn commit: r1375089 - /subversion/trunk/build/run_tests.py
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