httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r106071 - httpd/apreq/trunk/env/t
Date Sun, 21 Nov 2004 05:35:32 GMT
Author: joes
Date: Sat Nov 20 21:35:30 2004
New Revision: 106071

Modified:
   httpd/apreq/trunk/env/t/TEST.PL
Log:
Drop the mod-perl dependence (via Apache::Build).
We don't need it just to determine the platform type,
and the tests in this directory are not allowed to
assume a prior mod-perl installation.


Modified: httpd/apreq/trunk/env/t/TEST.PL
==============================================================================
--- httpd/apreq/trunk/env/t/TEST.PL	(original)
+++ httpd/apreq/trunk/env/t/TEST.PL	Sat Nov 20 21:35:30 2004
@@ -1,9 +1,7 @@
 use strict;
 use warnings FATAL => 'all';
 
-use Apache2;
-use Apache::Build;
-use constant WIN32 => Apache::Build::WIN32;
+use constant WIN32 => $^O eq 'MSWin32';
 require Win32 if WIN32;
 
 use Cwd;
@@ -40,8 +38,7 @@
 use Apache::TestTrace;
 use Apache::TestConfigC;
 use Config;
-use Apache::Build;
-use constant WIN32 => Apache::Build::WIN32;
+use constant WIN32 => $^O eq 'MSWin32';
 
 use base 'Apache::TestConfig';
 

Mime
View raw message