Author: brane
Date: Thu Oct 17 21:44:13 2019
New Revision: 1868566

URL: http://svn.apache.org/viewvc?rev=1868566&view=rev
Log:
Print the Python version used by the unit test driver.

* build/run_tests.py (TestHarness.run): Print the interpreter version
   in the test summary.

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=1868566&r1=1868565&r2=1868566&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Thu Oct 17 21:44:13 2019
@@ -713,9 +713,14 @@ class TestHarness:
 
     # Summary.
     if failed or xpassed or failed_list:
-      print("SUMMARY: Some tests failed.\n")
+      summary = "Some tests failed"
     else:
-      print("SUMMARY: All tests successful.\n")
+      summary = "All tests successful"
+    print("SUMMARY: %s, by the grace of Python %d.%d.%d.\n"
+          % (summary,
+             sys.version_info.major,
+             sys.version_info.minor,
+             sys.version_info.micro))
 
     self._close_log()
     return failed


Reply via email to