summaryrefslogtreecommitdiff
path: root/lib/Config.t
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2004-12-10 14:58:59 +0000
committerSteve Hay <SteveHay@planit.com>2004-12-10 14:58:59 +0000
commitd1888197290ee9e2faa25012d62b59909e6c3e32 (patch)
tree1540c393a13bd9c218dfc6e8eca894e3056c52c9 /lib/Config.t
parent4ad40acfc62db410aa4eb7654e17246f1fc97689 (diff)
downloadperl-d1888197290ee9e2faa25012d62b59909e6c3e32.tar.gz
Fix Win32 breakage caused by change 23610
Simply skip the offending tests on Win32. There is no sense in testing that $Config dir entries appear in @INC because the $Config entries relate to where perl.exe will be installed (as per INST_DRV/INST_TOP in win32/Makefile), whereas @INC entries are dynamic, based on where perlXX.dll is currently located. p4raw-id: //depot/perl@23638
Diffstat (limited to 'lib/Config.t')
-rw-r--r--lib/Config.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Config.t b/lib/Config.t
index a76f2986a8..540b3c853c 100644
--- a/lib/Config.t
+++ b/lib/Config.t
@@ -255,6 +255,7 @@ foreach my $lib (qw(applibexp archlibexp privlibexp sitearchexp sitelibexp
vendorarchexp vendorlibexp vendorlib_stem)) {
my $dir = $Config{$lib};
SKIP: {
+ skip "lib $lib not in \@INC on Win32" if $^O eq 'MSWin32';
skip "lib $lib not defined" unless defined $dir;
skip "lib $lib not set" unless length $dir;
# So we expect to find it in @INC