diff options
author | Jesse Vincent <jesse@bestpractical.com> | 2009-10-01 02:54:27 +0900 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2009-10-01 02:59:22 +0900 |
commit | a75f557cc482d1753211634e8aac8b7572677015 (patch) | |
tree | 5285d736ebaf70a3a3c5ea0c37da0c9c20453ba9 /pod/perlhack.pod | |
parent | b667d99b3752a0d79b4c2306a3e6e925f4f26d9f (diff) | |
download | perl-a75f557cc482d1753211634e8aac8b7572677015.tar.gz |
describe parallel testing in perlhack.pod
Diffstat (limited to 'pod/perlhack.pod')
-rw-r--r-- | pod/perlhack.pod | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pod/perlhack.pod b/pod/perlhack.pod index be860eea9c..736dd6c777 100644 --- a/pod/perlhack.pod +++ b/pod/perlhack.pod @@ -1959,6 +1959,23 @@ you can say nmake test TEST_FILES="op/*.t" nmake test TEST_SWITCHES="-torture" TEST_FILES="op/*.t" +=item Parallel tests + +The core distribution can now run its regression tests in parallel on +Unix-like platforms. Instead of running C<make test>, set C<TEST_JOBS> in +your environment to the number of tests to run in parallel, and run +C<make test_harness>. On a Bourne-like shell, this can be done as + + TEST_JOBS=3 make test_harness # Run 3 tests in parallel + +An environment variable is used, rather than parallel make itself, because +L<TAP::Harness> needs to be able to schedule individual non-conflicting test +scripts itself, and there is no standard interface to C<make> utilities to +interact with their job schedulers. + +Note that currently some test scripts may fail when run in parallel (most +notably C<ext/IO/t/io_dir.t>). If necessary run just the failing scripts +again sequentially and see if the failures go away. =item test-notty test_notty Sets PERL_SKIP_TTY_TEST to true before running normal test. |