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

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

Thread Next
From:
James E Keenan via RT
Date:
November 20, 2012 19:08
Subject:
[perl #115838] t/op: Move tests not using t/test.pl into a separate directory
Message ID:
rt-3.6.HEAD-17500-1353467297-1122.115838-15-0@perl.org
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

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