Show More
@@ -512,12 +512,11 b' def runchildren(options, expecthg, tests' | |||||
512 | tests.reverse() |
|
512 | tests.reverse() | |
513 | jobs = [[] for j in xrange(options.jobs)] |
|
513 | jobs = [[] for j in xrange(options.jobs)] | |
514 | while tests: |
|
514 | while tests: | |
515 |
for j in |
|
515 | for job in jobs: | |
516 | if not tests: break |
|
516 | if not tests: break | |
517 |
job |
|
517 | job.append(tests.pop()) | |
518 | fps = {} |
|
518 | fps = {} | |
519 |
for j in |
|
519 | for j, job in enumerate(jobs): | |
520 | job = jobs[j] |
|
|||
521 | if not job: |
|
520 | if not job: | |
522 | continue |
|
521 | continue | |
523 | rfd, wfd = os.pipe() |
|
522 | rfd, wfd = os.pipe() |
General Comments 0
You need to be logged in to leave comments.
Login now