Commit | Line | Data |
---|---|---|
16d20bd9 | 1 | #!./perl |
8d063cd8 | 2 | |
79072805 | 3 | # $RCSfile: cpp.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:18 $ |
68decaef | 4 | |
16d20bd9 | 5 | BEGIN { |
6 | chdir 't' if -d 't'; | |
20822f61 | 7 | @INC = '../lib'; |
59910836 | 8 | $ENV{PERL5LIB} = '../lib'; |
68decaef | 9 | } |
8d063cd8 | 10 | |
16d20bd9 | 11 | use Config; |
dc459aad | 12 | if ( $^O eq 'MacOS' || |
13 | ($Config{'cppstdin'} =~ /\bcppstdin\b/) && | |
68727c7f | 14 | ! -x $Config{'binexp'} . "/cppstdin" ) { |
45c0de28 | 15 | print "1..0 # Skip: \$Config{cppstdin} unavailable\n"; |
16d20bd9 | 16 | exit; # Cannot test till after install, alas. |
17 | } | |
8d063cd8 | 18 | |
1b24ed4b | 19 | system qq{$^X -"P" "comp/cpp.aux"}; |