Change 13384 by jhi@alpha on 2001/11/30 14:00:55
Cannot test if cppstdin has not yet been installed.
Affected files ...
.... //depot/perl/t/run/switchPx.t#2 edit
Differences ...
==== //depot/perl/t/run/switchPx.t#2 (text) ====
Index: perl/t/run/switchPx.t
--- perl/t/run/switchPx.t.~1~ Fri Nov 30 07:15:05 2001
+++ perl/t/run/switchPx.t Fri Nov 30 07:15:05 2001
@@ -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';
End of Patch.