Hi all,

Both parrot and perl 5 core are now using the environment variable 
TEST_JOBS to trigger parallel testing in their harnesses, i.e.

  make TEST_JOBS=3

http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg47337.html
http://www.nntp.perl.org/group/perl.perl5.porters/2008/07/msg139032.html

It seems that make does not (portably?) have a way (at least not a good 
one) to reliably communicate the '-j' option to a target.

Yes, that could mean some unfortunate action at a distance.  Schwern and 
I winced about this last week when we were working on parrot's harness, 
but I don't know or like make well enough to mess with it.

If anyone has a better suggestion, they (^-- them) might like to hear 
it.

Otherwise, I'm just writing to announce the birth of a new standard.

So, I suppose "one" could theoretically add the following to the 
compatibility Test/Harness.pm code and thereby enable parallel testing 
in all previous versions of EU::MM ;-)

  %harness_options, ($ENV{TEST_JOBS} ? ('-j', $ENV{TEST_JOBS}) : ())

--Eric
-- 
The first rule about Debian is you don't talk about Debian
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to