X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frun%2FswitchPx.t;h=72b068fe838b2d376ee9b83d6f3094f0c177d094;hb=e44c95bb96e4819206b25a8b74f5b8c4069c432d;hp=6550802f9e37971907c7c901281e5b872d2b579c;hpb=1b2cf9d6be69e73d0bf29c90c560c5c7afe4fceb;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/run/switchPx.t b/t/run/switchPx.t index 6550802..72b068f 100644 --- a/t/run/switchPx.t +++ b/t/run/switchPx.t @@ -5,13 +5,13 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; + $ENV{PERL5LIB} = '../lib'; use Config; - if ( $^O eq 'MSWin32' or $^O eq 'MacOS' or - ($Config{'cppstdin'} =~ /\bcppstdin\b/) and - ( ! -x $Config{'binexp'} . "/cppstdin") ) { + if ( $^O eq 'MacOS' || ($Config{'cppstdin'} =~ /\bcppstdin\b/) && + ! -x $Config{'binexp'} . "/cppstdin" ) { print "1..0 # Skip: \$Config{cppstdin} unavailable\n"; - exit; # Cannot test till after install, alas. + exit; # Cannot test till after install, alas. } }