Re: 'make --jobs all', 'make --jobs test', and concurrency

[email protected] (Shlomi Fish) Sun, 17 Nov 2013 08:35:51 +0200
Newsgroups perl.makemaker
Message-ID <[email protected]>
Hi David,

On Sat, 16 Nov 2013 22:15:14 -0800
David Christensen <[email protected]> wrote:

> makemaker:
>=20
> I have a computer with a multi-core processor, Debian 7, and Perl=20
> 5.14.2.  'make --jobs all' seems to run concurrently, but 'make --jobs=20
> test' seems to be single-threaded.  Is there a way to run tests=20
> concurrently?
>=20

make test is a single make target so make -j or make --jobs won't help here.
What might help is the HARNESS_OPTIONS environment variable:

HARNESS_OPTIONS=3D"j9" make test

See "perldoc Test::Harness":

https://metacpan.org/pod/Test::Harness

Regards,

	Shlomi Fish

--=20
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Public Domain Photos - http://www.flickr.com/photos/shlomif/

I=E2=80=99d love to change the world, but they won=E2=80=99t give me the so=
urce code.
    =E2=80=94 Unknown

Please reply to list if it's a mailing list post - http://shlom.in/reply .