[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-test-cvs
Subject: cvs commit: httpd-test/perl-framework/Apache-Test Changes
From: stas () apache ! org
Date: 2003-05-19 7:50:43
[Download RAW message or body]
stas 2003/05/19 00:50:42
Modified: perl-framework/Apache-Test/lib/Apache TestTrace.pm
perl-framework/Apache-Test Changes
Log:
get rid of Apache::TestTrace's dependency on Apache::TestConfig as it
creates too many circular use() problems.
Revision Changes Path
1.17 +2 -3 httpd-test/perl-framework/Apache-Test/lib/Apache/TestTrace.pm
Index: TestTrace.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestTrace.pm,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- TestTrace.pm 14 May 2003 02:05:00 -0000 1.16
+++ TestTrace.pm 19 May 2003 07:50:42 -0000 1.17
@@ -3,8 +3,6 @@
use strict;
use warnings FATAL => 'all';
-use Apache::TestConfig ();
-
use Exporter ();
use vars qw(@Levels @Utils @Subs @ISA @EXPORT $VERSION $Level $LogFH);
@@ -24,10 +22,11 @@
$LogFH = \*STDERR;
# private data
+use constant COLOR => ($ENV{APACHE_TEST_COLOR} && -t STDOUT) ? 1 : 0;
use constant HAS_COLOR => eval {
#XXX: another way to color WINFU terms?
!(grep { $^O eq $_ } qw(MSWin32 cygwin NetWare)) and
- Apache::TestConfig::COLOR and require Term::ANSIColor;
+ COLOR and require Term::ANSIColor;
};
use constant HAS_DUMPER => eval { require Data::Dumper; };
1.21 +3 -0 httpd-test/perl-framework/Apache-Test/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- Changes 14 May 2003 02:53:54 -0000 1.20
+++ Changes 19 May 2003 07:50:42 -0000 1.21
@@ -8,6 +8,9 @@
=item 1.03-dev -
+get rid of Apache::TestTrace's dependency on Apache::TestConfig as it
+creates too many circular use() problems. [Stas]
+
wrap blib loading in eval block (added to autogenerated files), to
prevent 'make clean' failures. [Stas]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic