From: Steve Hay Date: Fri, 10 Dec 2004 14:58:59 +0000 (+0000) Subject: Fix Win32 breakage caused by change 23610 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d1888197290ee9e2faa25012d62b59909e6c3e32;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/lib/Config.t b/lib/Config.t index a76f298..540b3c8 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