develooper Front page | perl.perl5.porters | Postings from November 2012

Re: [perl #115838] t/op: Move tests not using t/test.pl into a separatedirectory

Thread Previous | Thread Next
From:
Karl Williamson
Date:
November 20, 2012 19:54
Subject:
Re: [perl #115838] t/op: Move tests not using t/test.pl into a separatedirectory
Message ID:
50AC506F.3090801@khwilliamson.com
On 11/20/2012 8:08 PM, James E Keenan via RT wrote:
> On Tue Nov 20 05:09:29 2012, jkeen@verizon.net wrote:
>>
>> I don't think we can solve this problem in one fell swoop, but I do
>> think we can make some improvements relatively quickly.  I therefore
>> propose the following as a first step:
>>
>> * Create a new subdirectory called t/opbasic.
>> * Move any t/op/*.t files which do not already use t/test.pl into
>> t/opbasic -- i.e., assume that any t/op/t file which already uses
>> t/test.pl does so properly.
>> * Adjust 'perlhack' and other documentation as needed.
>> * Study those files which we have moved to t/opbasic to see whether they
>> are, in fact, eligible to use t/test.pl.  If so, move them back to t/op
>> and convert them.
>>
>
> Here is a list of t/op/*.t files which appear *not* to use t/test.pl:
>
> #####
> $ ack -lv 'require.+test\.pl' t/op/
> t/op/arith.t
> t/op/caller.pl
> t/op/closure_test.pl
> t/op/cmp.t
> t/op/concat.t
> t/op/inccode-tie.t
> t/op/index_thr.t
> t/op/magic_phase.t
> t/op/qq.t
> t/op/sprintf.t
> t/op/substr_thr.t
> t/op/svleak.pl
> t/op/threads_create.pl
> #####
>
> There are 179 files in t/op/ which already require t/test.pl.
>
> It would be great if P5Pers could examine the 13 files listed above for
> the purpose of answering the question:  Does this file test any features
> used by t/test.pl?  (If not, then that file can be converted to use
> t/test.pl.)
>
> Thank you very much.
> Jim Keenan
>
> ---
> via perlbug:  queue: perl5 status: new
> https://rt.perl.org:443/rt3/Ticket/Display.html?id=115838
>

It would be good to have a comment in each file that indicates what the 
features being tested are that prohibit its use of test.pl

Thread Previous | Thread Next


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