X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/b667d99b3752a0d79b4c2306a3e6e925f4f26d9f..a75f557cc482d1753211634e8aac8b7572677015:/pod/perlhack.pod diff --git a/pod/perlhack.pod b/pod/perlhack.pod index be860ee..736dd6c 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, set C in +your environment to the number of tests to run in parallel, and run +C. 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 needs to be able to schedule individual non-conflicting test +scripts itself, and there is no standard interface to C utilities to +interact with their job schedulers. + +Note that currently some test scripts may fail when run in parallel (most +notably C). 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.