develooper Front page | perl.perl5.porters | Postings from August 2008

Re: Test::Smoke and harness output

From:
Bram
Date:
August 10, 2008 02:36
Subject:
Re: Test::Smoke and harness output
Message ID:
20080810113551.1bll7bdfs40sgsg4@horde.wizbit.be
Citeren Nicholas Clark <nick@ccl4.org>:

> On Sun, Aug 10, 2008 at 11:29:11AM +0200, Bram wrote:
>> Citeren Nicholas Clark <nick@ccl4.org>:
>
>> >By default, does Test::Smoke run the tests using ./TEST, and then only
>> >re-run
>> >with ./harness if tests fail? Or does it now use Test::Harness first time?
>>
>> That depends on the configuration of the smoke.
>>
>> During the configuration the question is asked:
>>
>> 'Use harness only (skip TEST)?'
>>
>> If you answer n then ./TEST is run and if there is a failure then
>> ./harness is run.
>> Smokes that are configured like this and run a blead smoke (with
>> Test::Smoke 1.33) will show FAIL(X) and the failures won't be visible.
>> (assuming there was a failure).
>>
>> If you answer y then only ./harness is run.
>> Smokes that are configured like this and run a blead smoke (with
>> Test::Smoke 1.33) will show PASS-so-far and the failures won't be
>> visible. (assuming there was a failure).
>
> Ah right. So anyone using harness can now enjoy the speed up from setting
> TEST_JOBS in their environment?

Correct.

Or if 'Extra options for Test::Harness 3 (HARNESS_OPTIONS)' during  
smoke configuration is/was set to j5 (were 5 is the number of jobs)


Kind regards,

Bram





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About