equal
deleted
inserted
replaced
1119 |
1119 |
1120 results = dict(p=[], f=[], s=[], i=[]) |
1120 results = dict(p=[], f=[], s=[], i=[]) |
1121 times = [] |
1121 times = [] |
1122 iolock = threading.Lock() |
1122 iolock = threading.Lock() |
1123 |
1123 |
1124 def runqueue(options, tests, results): |
1124 def runqueue(options, tests): |
1125 for test in tests: |
1125 for test in tests: |
1126 ret = runone(options, test) |
1126 ret = runone(options, test) |
1127 if options.first and ret is not None and not ret: |
1127 if options.first and ret is not None and not ret: |
1128 break |
1128 break |
1129 |
1129 |
1145 tests.pop(0) |
1145 tests.pop(0) |
1146 if not tests: |
1146 if not tests: |
1147 print "running all tests" |
1147 print "running all tests" |
1148 tests = orig |
1148 tests = orig |
1149 |
1149 |
1150 runqueue(options, tests, results) |
1150 runqueue(options, tests) |
1151 |
1151 |
1152 failed = len(results['f']) |
1152 failed = len(results['f']) |
1153 tested = len(results['p']) + failed |
1153 tested = len(results['p']) + failed |
1154 skipped = len(results['s']) |
1154 skipped = len(results['s']) |
1155 ignored = len(results['i']) |
1155 ignored = len(results['i']) |