Message-ID: <Pine.SOL.4.10.
10111301304220.13302-100000@maxwell.phys.lafayette.edu>
Simplify the test skippage criterion now that we are
no more dependent on sed.
p4raw-id: //depot/perl@13392
}
use Config;
-if ( $^O eq 'MSWin32' or $^O eq 'MacOS' or
- ($Config{'cppstdin'} =~ /\bcppstdin\b/) and
- ( ! -x $Config{'binexp'} . "/cppstdin") ) {
+if ( ($Config{'cppstdin'} =~ /\bcppstdin\b/) &&
+ ! -x $Config{'binexp'} . "/cppstdin" ) {
print "1..0 # Skip: \$Config{cppstdin} unavailable\n";
exit; # Cannot test till after install, alas.
}
@INC = '../lib';
use Config;
- if ( $^O eq 'MSWin32' or $^O eq 'MacOS' or
- ($Config{'cppstdin'} =~ /\bcppstdin\b/) and
- ( ! -x $Config{'binexp'} . "/cppstdin") ) {
+ if ( ($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.
}
}