This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Pulling ancient RCS comments
[perl5.git] / t / comp / cpp.t
CommitLineData
16d20bd9 1#!./perl
8d063cd8 2
16d20bd9
AD
3BEGIN {
4 chdir 't' if -d 't';
20822f61 5 @INC = '../lib';
59910836 6 $ENV{PERL5LIB} = '../lib';
68decaef 7}
8d063cd8 8
16d20bd9 9use Config;
dc459aad
JH
10if ( $^O eq 'MacOS' ||
11 ($Config{'cppstdin'} =~ /\bcppstdin\b/) &&
68727c7f 12 ! -x $Config{'binexp'} . "/cppstdin" ) {
45c0de28 13 print "1..0 # Skip: \$Config{cppstdin} unavailable\n";
16d20bd9
AD
14 exit; # Cannot test till after install, alas.
15}
8d063cd8 16
1b24ed4b 17system qq{$^X -"P" "comp/cpp.aux"};