xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/comp/cpp.t (revision 0:68f95e015346)
1*0Sstevel@tonic-gate#!./perl
2*0Sstevel@tonic-gate
3*0Sstevel@tonic-gate# $RCSfile: cpp.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:18 $
4*0Sstevel@tonic-gate
5*0Sstevel@tonic-gateBEGIN {
6*0Sstevel@tonic-gate    chdir 't' if -d 't';
7*0Sstevel@tonic-gate    @INC = '../lib';
8*0Sstevel@tonic-gate    $ENV{PERL5LIB} = '../lib';
9*0Sstevel@tonic-gate}
10*0Sstevel@tonic-gate
11*0Sstevel@tonic-gateuse Config;
12*0Sstevel@tonic-gateif ( $^O eq 'MacOS' ||
13*0Sstevel@tonic-gate     ($Config{'cppstdin'} =~ /\bcppstdin\b/) &&
14*0Sstevel@tonic-gate     ! -x $Config{'binexp'} . "/cppstdin" ) {
15*0Sstevel@tonic-gate    print "1..0 # Skip: \$Config{cppstdin} unavailable\n";
16*0Sstevel@tonic-gate    exit; 		# Cannot test till after install, alas.
17*0Sstevel@tonic-gate}
18*0Sstevel@tonic-gate
19*0Sstevel@tonic-gatesystem qq{$^X -"P" "comp/cpp.aux"};
20