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
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