Show More
@@ -1074,7 +1074,7 b' def _checkhglib(verb):' | |||
|
1074 | 1074 | ' (expected %s)\n' |
|
1075 | 1075 | % (verb, actualhg, expecthg)) |
|
1076 | 1076 | |
|
1077 | results = {'.':[], '!':[], 's':[], 'i':[]} | |
|
1077 | results = {'.':[], '!':[], '~': [], 's':[], 'i':[]} | |
|
1078 | 1078 | times = [] |
|
1079 | 1079 | iolock = threading.Lock() |
|
1080 | 1080 | abort = False |
@@ -1138,7 +1138,8 b' def runtests(options, tests):' | |||
|
1138 | 1138 | scheduletests(options, tests) |
|
1139 | 1139 | |
|
1140 | 1140 | failed = len(results['!']) |
|
1141 |
|
|
|
1141 | warned = len(results['~']) | |
|
1142 | tested = len(results['.']) + failed + warned | |
|
1142 | 1143 | skipped = len(results['s']) |
|
1143 | 1144 | ignored = len(results['i']) |
|
1144 | 1145 | |
@@ -1146,11 +1147,13 b' def runtests(options, tests):' | |||
|
1146 | 1147 | if not options.noskips: |
|
1147 | 1148 | for s in results['s']: |
|
1148 | 1149 | print "Skipped %s: %s" % s |
|
1150 | for s in results['~']: | |
|
1151 | print "Warned %s: %s" % s | |
|
1149 | 1152 | for s in results['!']: |
|
1150 | 1153 | print "Failed %s: %s" % s |
|
1151 | 1154 | _checkhglib("Tested") |
|
1152 | print "# Ran %d tests, %d skipped, %d failed." % ( | |
|
1153 | tested, skipped + ignored, failed) | |
|
1155 | print "# Ran %d tests, %d skipped, %d warned, %d failed." % ( | |
|
1156 | tested, skipped + ignored, warned, failed) | |
|
1154 | 1157 | if results['!']: |
|
1155 | 1158 | print 'python hash seed:', os.environ['PYTHONHASHSEED'] |
|
1156 | 1159 | if options.time: |
General Comments 0
You need to be logged in to leave comments.
Login now