perl 5.002_01: lib/ExtUtils/testlib.pm
Perl 5 Porters [Wed, 6 Mar 1996 05:31:42 +0000 (05:31 +0000)]
Added to MakeMaker 5.26 to simplify manual testing of uninstalled
extensions

lib/ExtUtils/testlib.pm [new file with mode: 0644]

diff --git a/lib/ExtUtils/testlib.pm b/lib/ExtUtils/testlib.pm
new file mode 100644 (file)
index 0000000..d559604
--- /dev/null
@@ -0,0 +1,23 @@
+package ExtUtils::testlib;
+use lib qw(blib/arch blib/lib);
+1;
+__END__
+
+=head1 NAME
+
+ExtUtils::testlib - add blib/* directories to @INC
+
+=head1 SYNOPSIS
+
+C<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.
+