package ExtUtils::testlib; use strict; use warnings; our $VERSION = '6.68'; use Cwd; use File::Spec; # So the tests can chdir around and not break @INC. # We use getcwd() because otherwise rel2abs will blow up under taint # mode pre-5.8. We detaint is so @INC won't be tainted. This is # no worse, and probably better, than just shoving an untainted, # relative "blib/lib" onto @INC. my $cwd; BEGIN { ($cwd) = getcwd() =~ /(.*)/; } use lib map { File::Spec->rel2abs($_, $cwd) } qw(blib/arch blib/lib); 1; __END__ =head1 NAME ExtUtils::testlib - add blib/* directories to @INC =head1 SYNOPSIS use ExtUtils::testlib; =head1 DESCRIPTION After an extension has been built and before it is installed it may be desirable to test it bypassing C<make test>. By adding use ExtUtils::testlib; to a test program the intermediate directories used by C<make> are added to @INC.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Command | Folder | 0755 |
|
|
Liblist | Folder | 0755 |
|
|
MakeMaker | Folder | 0755 |
|
|
ParseXS | Folder | 0755 |
|
|
Typemaps | Folder | 0755 |
|
|
Liblist.pm | File | 9.47 KB | 0644 |
|
MANIFEST.SKIP | File | 824 B | 0644 |
|
MM.pm | File | 2.06 KB | 0644 |
|
MM_AIX.pm | File | 1.53 KB | 0644 |
|
MM_Any.pm | File | 68.58 KB | 0644 |
|
MM_BeOS.pm | File | 982 B | 0644 |
|
MM_Cygwin.pm | File | 3.04 KB | 0644 |
|
MM_DOS.pm | File | 950 B | 0644 |
|
MM_Darwin.pm | File | 918 B | 0644 |
|
MM_MacOS.pm | File | 1.08 KB | 0644 |
|
MM_NW5.pm | File | 6.41 KB | 0644 |
|
MM_OS2.pm | File | 3.75 KB | 0644 |
|
MM_QNX.pm | File | 868 B | 0644 |
|
MM_UWIN.pm | File | 955 B | 0644 |
|
MM_Unix.pm | File | 91.82 KB | 0644 |
|
MM_VMS.pm | File | 59.65 KB | 0644 |
|
MM_VOS.pm | File | 723 B | 0644 |
|
MM_Win32.pm | File | 13.85 KB | 0644 |
|
MM_Win95.pm | File | 1.87 KB | 0644 |
|
MY.pm | File | 652 B | 0644 |
|
MakeMaker.pm | File | 91.59 KB | 0644 |
|
Manifest.pm | File | 22.52 KB | 0644 |
|
Mkbootstrap.pm | File | 3.11 KB | 0644 |
|
Mksymlists.pm | File | 10.5 KB | 0644 |
|
ParseXS.pm | File | 60.01 KB | 0644 |
|
ParseXS.pod | File | 3.74 KB | 0644 |
|
Typemaps.pm | File | 24.81 KB | 0644 |
|
testlib.pm | File | 891 B | 0644 |
|
xsubpp | File | 4.45 KB | 0755 |
|