perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r291686 - in /perl/Apache-Test/trunk: Changes lib/Apache/TestMM.pm
Date Mon, 26 Sep 2005 17:33:14 GMT
Author: geoff
Date: Mon Sep 26 10:33:11 2005
New Revision: 291686

URL: http://svn.apache.org/viewcvs?rev=291686&view=rev
Log:
make sure that the TESTS Makefile.PL parameter is properly
recognized

Modified:
    perl/Apache-Test/trunk/Changes
    perl/Apache-Test/trunk/lib/Apache/TestMM.pm

Modified: perl/Apache-Test/trunk/Changes
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/Changes?rev=291686&r1=291685&r2=291686&view=diff
==============================================================================
--- perl/Apache-Test/trunk/Changes (original)
+++ perl/Apache-Test/trunk/Changes Mon Sep 26 10:33:11 2005
@@ -8,6 +8,9 @@
 
 =item 1.27-dev
 
+make sure that the TESTS Makefile.PL parameter is properly
+recognized ["Christopher H. Laco" <apache-test chrislaco.com>]
+
 Add the output of ldd(unix/cygwin) and otool -L (darwin)
 for httpd to the mp2bug report script.
 [Philip M. Gollucci]

Modified: perl/Apache-Test/trunk/lib/Apache/TestMM.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/lib/Apache/TestMM.pm?rev=291686&r1=291685&r2=291686&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestMM.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestMM.pm Mon Sep 26 10:33:11 2005
@@ -51,8 +51,9 @@
 }
 
 sub test {
-
+    my $self = shift;
     my $env = Apache::TestConfig->passenv_makestr();
+    my $tests = 'TEST_FILES = ' . (exists $self->{'test'} ? $self->{'test'}->{'TESTS'}
: '') . "\n";
 
     my $preamble = Apache::TestConfig::WIN32 ? "" : <<EOF;
 PASSENV = $env
@@ -81,9 +82,8 @@
 EOF
     }
 
-    return $preamble . <<'EOF' . $cover;
+    return $preamble . $tests . <<'EOF' . $cover;
 TEST_VERBOSE = 0
-TEST_FILES =
 
 test_clean :
 	$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \



Mime
View raw message