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