Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

1 view
Skip to first unread message

David Christensen

unread,
Nov 17, 2013, 1:15:14 AM11/17/13
to make...@perl.org
makemaker:

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


TIA,

David

Shlomi Fish

unread,
Nov 17, 2013, 1:35:51 AM11/17/13
to make...@perl.org
Hi David,
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="j9" make test

See "perldoc Test::Harness":

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

Regards,

Shlomi Fish

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

I’d love to change the world, but they won’t give me the source code.
— Unknown

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

David Christensen

unread,
Nov 17, 2013, 2:11:26 PM11/17/13
to make...@perl.org
On 11/16/2013 10:35 PM, Shlomi Fish wrote:
> HARNESS_OPTIONS="j9" make test

Thanks! :-)


David

0 new messages