summaryrefslogtreecommitdiff
path: root/t/comp
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2001-11-30 08:49:48 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-30 20:26:22 +0000
commit68727c7f8d573ba99af069015a1a2546009c0cd3 (patch)
treea462cc136e53c717cd1fd70b7f912b4af4254e47 /t/comp
parent6d1277cd1ec95a7c72b64de008bcab85331ac9b4 (diff)
downloadperl-68727c7f8d573ba99af069015a1a2546009c0cd3.tar.gz
Re: -P and Incredible Disappearing $Config{cppstdin} (was Re: perl@13385)
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
Diffstat (limited to 't/comp')
-rwxr-xr-xt/comp/cpp.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/comp/cpp.t b/t/comp/cpp.t
index e80ce33f2d..44eeea45af 100755
--- a/t/comp/cpp.t
+++ b/t/comp/cpp.t
@@ -8,9 +8,8 @@ BEGIN {
}
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.
}