dougm 01/10/19 17:35:57
Modified: perl-framework/Apache-Test/lib/Apache TestTrace.pm
Log:
turn off Term::ANSIColor for WINFU platforms
Revision Changes Path
1.7 +2 -0
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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestTrace.pm 2001/10/16 20:30:57 1.6
+++ TestTrace.pm 2001/10/20 00:35:57 1.7
@@ -22,6 +22,8 @@
# private data
use constant HAS_COLOR => eval {
+ #XXX: another way to color WINFU terms?
+ !(grep { $^O eq $_ } qw(MSWin32 cygwin NetWare)) and
!$ENV{APACHE_TEST_NO_COLOR} and require Term::ANSIColor;
};
use constant HAS_DUMPER => eval { require Data::Dumper; };