You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2004/11/21 06:35:32 UTC
svn commit: r106071 - httpd/apreq/trunk/env/t
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';