Thank you for your answer :-) Using author tests could also solve my
problem. Your commands work for a Build.pl based distribution.

I'm planning to find a proper way to generate a DZT-Sample-0.001.tar.gz
file dynamically.

Le 20/06/2015 12:52, K. Wittrock a écrit :
> Just to supplement Karen's response:
> 
> Am 18.06.2015 um 18:58 schrieb Vincent Lequertier:
>>
>> Since I'm fairly new to the task of maintening modules, and that I'm
>> unable to find any doc about it, is moving a test file from /t to /xt
>> make the test secondary? Any advice?
> 
> I add the following lines to MANIFEST.SKIP to prevent xt/ from reaching
> the tarball:
> 
> # Avoid author tests dir.
> ^xt/
> 
> And I use the following DOS commands to run author tests while creating
> the tarball:
> 
> set PERL5LIB=lib
> prove xt
> set PERL5LIB=
> perl Build.PL
> Build manifest
> Build test
> Build dist
> 
> Yes, I too had a hard time finding this out. HTH.
>>
>> PS:Sorry for bad English
>>
> 
> I think it's better than mine.
> 

-- 
Vincent Lequertier
s...@riseup.net
wwww.vincentlequertier.tk

Reply via email to