Show More
@@ -31,8 +31,10 b'' | |||
|
31 | 31 | # ./run-tests.py -j2 --local test-s* |
|
32 | 32 | # 7) parallel, coverage, temp install: |
|
33 | 33 | # ./run-tests.py -j2 -c test-s* # currently broken |
|
34 | # 8) parallel, coverage, local install | |
|
34 | # 8) parallel, coverage, local install: | |
|
35 | 35 | # ./run-tests.py -j2 -c --local test-s* # unsupported (and broken) |
|
36 | # 9) parallel, custom tmp dir: | |
|
37 | # ./run-tests.py -j2 --tmpdir /tmp/myhgtests | |
|
36 | 38 | # |
|
37 | 39 | # (You could use any subset of the tests: test-s* happens to match |
|
38 | 40 | # enough that it's worth doing parallel runs, few enough that it |
@@ -639,6 +641,8 b' def runchildren(options, tests):' | |||
|
639 | 641 | continue |
|
640 | 642 | rfd, wfd = os.pipe() |
|
641 | 643 | childopts = ['--child=%d' % wfd, '--port=%d' % (options.port + j * 3)] |
|
644 | childtmp = os.path.join(HGTMP, 'child%d' % j) | |
|
645 | childopts += ['--tmpdir', childtmp] | |
|
642 | 646 | cmdline = [PYTHON, sys.argv[0]] + opts + childopts + job |
|
643 | 647 | vlog(' '.join(cmdline)) |
|
644 | 648 | fps[os.spawnvp(os.P_NOWAIT, cmdline[0], cmdline)] = os.fdopen(rfd, 'r') |
General Comments 0
You need to be logged in to leave comments.
Login now