X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcomp%2Fcpp.t;h=cb8df508119560ccd54acfb16697f6342abc695a;hb=501e7c3490d3750cf17f3dfec24af9ede34f3eb1;hp=880aed836eb093082cdd18d1d46f474902ac428a;hpb=16d20bd98cd29be76029ebf04027a7edd34d817b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/comp/cpp.t b/t/comp/cpp.t index 880aed8..cb8df50 100755 --- a/t/comp/cpp.t +++ b/t/comp/cpp.t @@ -8,9 +8,10 @@ BEGIN { } use Config; -if ( ($Config{'cppstdin'} =~ /\bcppstdin\b/) and - ( ! -x $Config{'scriptdir'} . "/cppstdin") ) { - print "1..0\n"; +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. }