This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b24ed4
)
Cannot test if cppstdin has not yet been installed.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 30 Nov 2001 14:00:55 +0000
(14:00 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 30 Nov 2001 14:00:55 +0000
(14:00 +0000)
p4raw-id: //depot/perl@13384
t/run/switchPx.t
patch
|
blob
|
blame
|
history
diff --git
a/t/run/switchPx.t
b/t/run/switchPx.t
index
0f029a7
..
6550802
100644
(file)
--- a/
t/run/switchPx.t
+++ b/
t/run/switchPx.t
@@
-5,6
+5,14
@@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
+
+ use Config;
+ 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.
+ }
}
require './test.pl';