Show More
@@ -1134,6 +1134,8 b' def runtests(options, tests):' | |||||
1134 | _checkhglib("Tested") |
|
1134 | _checkhglib("Tested") | |
1135 | print "# Ran %d tests, %d skipped, %d failed." % ( |
|
1135 | print "# Ran %d tests, %d skipped, %d failed." % ( | |
1136 | tested, skipped + ignored, failed) |
|
1136 | tested, skipped + ignored, failed) | |
|
1137 | if results['!']: | |||
|
1138 | print 'python hash seed:', os.environ['PYTHONHASHSEED'] | |||
1137 | if options.time: |
|
1139 | if options.time: | |
1138 | outputtimes(options) |
|
1140 | outputtimes(options) | |
1139 |
|
1141 | |||
@@ -1185,7 +1187,6 b' def main():' | |||||
1185 | # use a random python hash seed all the time |
|
1187 | # use a random python hash seed all the time | |
1186 | # we do the randomness ourself to know what seed is used |
|
1188 | # we do the randomness ourself to know what seed is used | |
1187 | os.environ['PYTHONHASHSEED'] = str(random.getrandbits(32)) |
|
1189 | os.environ['PYTHONHASHSEED'] = str(random.getrandbits(32)) | |
1188 | print 'python hash seed:', os.environ['PYTHONHASHSEED'] |
|
|||
1189 |
|
1190 | |||
1190 | global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE |
|
1191 | global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE | |
1191 | TESTDIR = os.environ["TESTDIR"] = os.getcwd() |
|
1192 | TESTDIR = os.environ["TESTDIR"] = os.getcwd() |
General Comments 0
You need to be logged in to leave comments.
Login now