Integrate mainline
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / testlib.pm
CommitLineData
b0c8af80 1package ExtUtils::testlib;
a4530404 2$VERSION = 1.13_01;
d713330a 3
a4530404 4use Cwd;
f6d6199c 5use File::Spec;
a4530404 6
7# So the tests can chdir around and not break @INC.
8# We use getcwd() because otherwise rel2abs will blow up under taint
9# mode pre-5.8
10use lib map File::Spec->rel2abs($_, getcwd()), qw(blib/arch blib/lib);
b0c8af80 111;
12__END__
13
14=head1 NAME
15
16ExtUtils::testlib - add blib/* directories to @INC
17
18=head1 SYNOPSIS
19
39234879 20 use ExtUtils::testlib;
b0c8af80 21
22=head1 DESCRIPTION
23
24After an extension has been built and before it is installed it may be
25desirable to test it bypassing C<make test>. By adding
26
27 use ExtUtils::testlib;
28
29to a test program the intermediate directories used by C<make> are
30added to @INC.
31