p4raw-id: //depot/perl@13384
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
+
+ use Config;
+ if ( $^O eq 'MSWin32' or $^O eq 'MacOS' or
+ ($Config{'cppstdin'} =~ /\bcppstdin\b/) and
+ ( ! -x $Config{'binexp'} . "/cppstdin") ) {
+ print "1..0 # Skip: \$Config{cppstdin} unavailable\n";
+ exit; # Cannot test till after install, alas.
+ }
}
require './test.pl';