Author: stas
Date: Wed Aug 10 16:56:57 2005
New Revision: 231356
URL: http://svn.apache.org/viewcvs?rev=231356&view=rev
Log:
skip tests if HTML::HeadParser is not available
Modified:
perl/modperl/trunk/ModPerl-Registry/t/206.t
perl/modperl/trunk/ModPerl-Registry/t/304.t
perl/modperl/trunk/ModPerl-Registry/t/404.t
perl/modperl/trunk/ModPerl-Registry/t/cgi.t
perl/modperl/trunk/ModPerl-Registry/t/closure.t
perl/modperl/trunk/ModPerl-Registry/t/flush.t
perl/modperl/trunk/ModPerl-Registry/t/perlrun_extload.t
perl/modperl/trunk/ModPerl-Registry/t/redirect.t
perl/modperl/trunk/ModPerl-Registry/t/special_blocks.t
Modified: perl/modperl/trunk/ModPerl-Registry/t/206.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/206.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/206.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/206.t Wed Aug 10 16:56:57 2005
@@ -5,7 +5,7 @@
use Apache::TestUtil;
use Apache::TestRequest qw(GET);
-plan tests => 2, need 'mod_alias.c';
+plan tests => 2, need [qw(mod_alias.c HTML::HeadParser)];
my $url = "/registry/206.pl";
my $res = GET($url);
Modified: perl/modperl/trunk/ModPerl-Registry/t/304.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/304.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/304.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/304.t Wed Aug 10 16:56:57 2005
@@ -5,7 +5,7 @@
use Apache::TestUtil;
use Apache::TestRequest qw(GET);
-plan tests => 10, need 'mod_alias.c';
+plan tests => 10, need [qw(mod_alias.c HTML::HeadParser)];
my $url = "/registry/304.pl";
Modified: perl/modperl/trunk/ModPerl-Registry/t/404.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/404.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/404.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/404.t Wed Aug 10 16:56:57 2005
@@ -5,7 +5,7 @@
use Apache::TestUtil;
use Apache::TestRequest qw(GET_BODY GET);
-plan tests => 2, need 'mod_alias.c';
+plan tests => 2, need [qw(mod_alias.c HTML::HeadParser)];
{
t_client_log_error_is_expected();
Modified: perl/modperl/trunk/ModPerl-Registry/t/cgi.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/cgi.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/cgi.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/cgi.t Wed Aug 10 16:56:57 2005
@@ -5,7 +5,8 @@
use Apache::TestUtil;
use Apache::TestRequest qw(GET);
-plan tests => 2, need 'mod_alias.c', need_min_module_version CGI => 3.08;
+plan tests => 2, need [qw(mod_alias.c HTML::HeadParser)],
+ need_min_module_version CGI => 3.08;
my $url = "/registry/cgi.pl";
my $res = GET $url;
Modified: perl/modperl/trunk/ModPerl-Registry/t/closure.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/closure.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/closure.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/closure.t Wed Aug 10 16:56:57 2005
@@ -17,7 +17,7 @@
my @modules = qw(registry registry_bb perlrun);
-plan tests => 6, need 'mod_alias.c';
+plan tests => 6, need [qw(mod_alias.c HTML::HeadParser)];
my $cfg = Apache::Test::config();
Modified: perl/modperl/trunk/ModPerl-Registry/t/flush.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/flush.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/flush.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/flush.t Wed Aug 10 16:56:57 2005
@@ -5,7 +5,7 @@
use Apache::TestUtil;
use Apache::TestRequest qw(GET_BODY);
-plan tests => 1, need 'deflate', 'mod_alias.c',
+plan tests => 1, need [qw(mod_alias.c deflate HTML::HeadParser)],
need_min_module_version("Compress::Zlib", "1.09"),
need_min_apache_version("2.0.48");
# it requires httpd 2.0.48 because of the bug in mod_deflate:
Modified: perl/modperl/trunk/ModPerl-Registry/t/perlrun_extload.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/perlrun_extload.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/perlrun_extload.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/perlrun_extload.t Wed Aug 10 16:56:57
2005
@@ -6,7 +6,7 @@
use Apache::TestRequest qw(GET);
use TestCommon::SameInterp;
-plan tests => 2, need 'mod_alias.c';
+plan tests => 2, need [qw(mod_alias.c HTML::HeadParser)];
my $url = "/same_interp/perlrun/perlrun_extload.pl";
my $same_interp = Apache::TestRequest::same_interp_tie($url);
Modified: perl/modperl/trunk/ModPerl-Registry/t/redirect.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/redirect.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/redirect.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/redirect.t Wed Aug 10 16:56:57 2005
@@ -7,7 +7,7 @@
use Apache::TestUtil qw(t_catfile_apache);
-plan tests => 4, need 'mod_alias.c', need_lwp;
+plan tests => 4, need [qw(mod_alias.c HTML::HeadParser)], need_lwp;
# need LWP to handle redirects
my $base_url = "/registry/redirect.pl";
Modified: perl/modperl/trunk/ModPerl-Registry/t/special_blocks.t
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/ModPerl-Registry/t/special_blocks.t?rev=231356&r1=231355&r2=231356&view=diff
==============================================================================
--- perl/modperl/trunk/ModPerl-Registry/t/special_blocks.t (original)
+++ perl/modperl/trunk/ModPerl-Registry/t/special_blocks.t Wed Aug 10 16:56:57
2005
@@ -16,7 +16,7 @@
my @aliases = sort keys %modules;
-plan tests => @aliases * 4, need 'mod_alias.c';
+plan tests => @aliases * 4, need [qw(mod_alias.c HTML::HeadParser)];
{
# PerlRun always run BEGIN/END since it's never cached