[siesta-commit] siesta/t 01compile.t,1.2,1.3 02all_plugins.t,1.2,1.3

[prev] [thread] [next] [lurker] [Date index for 2002/09/03]

From: clampr
Subject: [siesta-commit] siesta/t 01compile.t,1.2,1.3 02all_plugins.t,1.2,1.3
Date: 23:42 on 03 Sep 2002
Update of /cvsroot/siesta/siesta/t
In directory usw-pr-cvs1:/tmp/cvs-serv24613/t

Modified Files:
	01compile.t 02all_plugins.t 
Log Message:
make compile tests look in blib/lib rather than lib

Index: 01compile.t
===================================================================
RCS file: /cvsroot/siesta/siesta/t/01compile.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 01compile.t	20 Aug 2002 23:35:40 -0000	1.2
+++ 01compile.t	3 Sep 2002 22:42:06 -0000	1.3
@@ -6,13 +6,13 @@
 use strict;
 use File::Find::Rule;
 
-my @files = find( name => '*.pm', in => 'lib' );
+my @files = find( name => '*.pm', in => 'blib/lib' );
 
 require Test::More;
 Test::More->import( tests => scalar @files );
 
 for my $class (@files) {
-    $class =~ s{lib/(.*)\.pm}{$1};
+    $class =~ s{blib/lib/(.*)\.pm}{$1};
     $class =~ s{/}{::}g;
     require_ok($class);
 }

Index: 02all_plugins.t
===================================================================
RCS file: /cvsroot/siesta/siesta/t/02all_plugins.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 02all_plugins.t	20 Aug 2002 23:15:30 -0000	1.2
+++ 02all_plugins.t	3 Sep 2002 22:42:06 -0000	1.3
@@ -5,12 +5,12 @@
 use strict;
 use File::Find::Rule qw(find);
 
-my @files = find( name => '*.pm', in => 'lib/Siesta/Plugin' );
+my @files = find( name => '*.pm', in => 'blib/lib/Siesta/Plugin' );
 require Test::More;
 Test::More->import(tests => @files * 3);
 
 for my $file (@files) {
-    $file =~ s{lib/(.*).pm}{$1};
+    $file =~ s{blib/lib/(.*).pm}{$1};
     $file =~ s{/}{::}g;
     require_ok($file);
     my $obj = $file->new;



Generated at 13:57 on 01 Jul 2004 by mariachi 0.52