summaryrefslogtreecommitdiff
path: root/t/run/switchPx.t
diff options
context:
space:
mode:
Diffstat (limited to 't/run/switchPx.t')
-rw-r--r--t/run/switchPx.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/run/switchPx.t b/t/run/switchPx.t
index af98031a29..72b068fe83 100644
--- a/t/run/switchPx.t
+++ b/t/run/switchPx.t
@@ -8,7 +8,7 @@ BEGIN {
$ENV{PERL5LIB} = '../lib';
use Config;
- if ( ($Config{'cppstdin'} =~ /\bcppstdin\b/) &&
+ if ( $^O eq 'MacOS' || ($Config{'cppstdin'} =~ /\bcppstdin\b/) &&
! -x $Config{'binexp'} . "/cppstdin" ) {
print "1..0 # Skip: \$Config{cppstdin} unavailable\n";
exit; # Cannot test till after install, alas.