Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Wed, 20 Nov 2013 12:26:54 +0000
changeset 1308 12c752c0a02b
parent 1306 c8f3a433abe6 (current diff)
parent 1307 164ed9bf157c (diff)
child 1309 02972bce7d41
Merge with stable
--- a/tests/run-tests.py	Sun Nov 17 17:30:23 2013 +0000
+++ b/tests/run-tests.py	Wed Nov 20 12:26:54 2013 +0000
@@ -1134,6 +1134,8 @@
         _checkhglib("Tested")
         print "# Ran %d tests, %d skipped, %d failed." % (
             tested, skipped + ignored, failed)
+        if results['!']:
+            print 'python hash seed:', os.environ['PYTHONHASHSEED']
         if options.time:
             outputtimes(options)
 
@@ -1185,7 +1187,6 @@
         # use a random python hash seed all the time
         # we do the randomness ourself to know what seed is used
         os.environ['PYTHONHASHSEED'] = str(random.getrandbits(32))
-        print 'python hash seed:', os.environ['PYTHONHASHSEED']
 
     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
     TESTDIR = os.environ["TESTDIR"] = os.getcwd()