equal
deleted
inserted
replaced
1094 running -= 1 |
1094 running -= 1 |
1095 if tests and not running == jobs: |
1095 if tests and not running == jobs: |
1096 test = tests.pop(0) |
1096 test = tests.pop(0) |
1097 if options.loop: |
1097 if options.loop: |
1098 tests.append(test) |
1098 tests.append(test) |
1099 t = threading.Thread(target=job, args=(test, count)) |
1099 t = threading.Thread(target=job, name=test, args=(test, count)) |
1100 t.start() |
1100 t.start() |
1101 running += 1 |
1101 running += 1 |
1102 count += 1 |
1102 count += 1 |
1103 except KeyboardInterrupt: |
1103 except KeyboardInterrupt: |
1104 abort = True |
1104 abort = True |