equal
deleted
inserted
replaced
1087 running -= 1 |
1087 running -= 1 |
1088 if tests and not running == jobs: |
1088 if tests and not running == jobs: |
1089 test = tests.pop(0) |
1089 test = tests.pop(0) |
1090 if options.loop: |
1090 if options.loop: |
1091 tests.append(test) |
1091 tests.append(test) |
1092 t = threading.Thread(None, job, args=(test, count)) |
1092 t = threading.Thread(target=job, args=(test, count)) |
1093 t.start() |
1093 t.start() |
1094 running += 1 |
1094 running += 1 |
1095 count += 1 |
1095 count += 1 |
1096 except KeyboardInterrupt: |
1096 except KeyboardInterrupt: |
1097 abort = True |
1097 abort = True |