Re: [PATCH 6/6] Add test_harness make target for testing with prove(1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jakub Narebski <jnareb@xxxxxxxxx> writes:

> Ævar Arnfjörð Bjarmason  <avarab@xxxxxxxxx> writes:
>
>> The --jobs option I'm supplying to prove(1) is not supported in all
>> prove versions, some older ones (before Perl 5.10.1) don't have
>> it. Anyone that's hacking Git probably has 5.10.1, and you can always
>> use the old `make test` for non-parallel tests.
>
> I am hacking Git, and I don't have perl >= 5.10.1.  On the other hand
> I can alway run "make test" or individual tests instead of 
> "make test_harness".
>
> A better solution would be to check Perl version, or even better of
> "prove" supports '--jobs' option, and selectively enable parallel
> running of test harness in Makefile.

Besides, "make -j15 test" from the toplevel already runs the tests in
parallel.  I don't see much point in this change.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]