summaryrefslogtreecommitdiff
path: root/t/run
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/run
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/run')
-rw-r--r--t/run/switchPx.t7
1 files changed, 3 insertions, 4 deletions
diff --git a/t/run/switchPx.t b/t/run/switchPx.t
index 6550802f9e..009fc490e0 100644
--- a/t/run/switchPx.t
+++ b/t/run/switchPx.t
@@ -7,11 +7,10 @@ BEGIN {
@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.
}
}