Mercurial > public > mercurial-scm > hg-stable
diff tests/test-run-tests.t @ 41178:53327bfbf35d
testrunner: make `-j100 --runs-per-test=100 test-foo.t` use 100 jobs
It would use only 1 job since 1039404c5e1d (run-tests: print number of
tests and parallel process count, 2018-10-13), but I'm pretty sure
that was unintentional.
Differential Revision: https://phab.mercurial-scm.org/D5557
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 10 Jan 2019 14:32:36 -0800 |
parents | 2465e0b27a0d |
children | f9150901267c |
line wrap: on
line diff
--- a/tests/test-run-tests.t Sun Jan 06 23:37:13 2019 -0800 +++ b/tests/test-run-tests.t Thu Jan 10 14:32:36 2019 -0800 @@ -716,6 +716,12 @@ (delete the duplicated test file) $ rm test-failure-copy.t +multiple runs per test should be parallelized + + $ rt --jobs 2 --runs-per-test 2 test-success.t + running 2 tests using 2 parallel processes + .. + # Ran 2 tests, 0 skipped, 0 failed. Interactive run ===============