]> git.imager.perl.org - imager.git/blobdiff - Makefile.PL
test for duplicate words in POD
[imager.git] / Makefile.PL
index 3d3cffa15b8f0d2e76bd8f5949b1414ad33667e6..35d80babd04a61f54a89f0decaaf52f1b58d66cf 100644 (file)
@@ -167,7 +167,8 @@ my @objs = qw(Imager.o context.o draw.o polygon.o image.o io.o iolayer.o
               regmach.o trans2.o quant.o error.o convert.o
               map.o tags.o palimg.o maskimg.o img8.o img16.o rotate.o
               bmp.o tga.o color.o fills.o imgdouble.o limits.o hlines.o
-              imext.o scale.o rubthru.o render.o paste.o compose.o flip.o);
+              imext.o scale.o rubthru.o render.o paste.o compose.o flip.o
+             perlio.o);
 
 if ($Config{useithreads}) {
   if ($Config{i_pthread}) {
@@ -200,6 +201,11 @@ if ($trace_context) {
   $CFLAGS .= " -DIMAGER_TRACE_CONTEXT";
 }
 
+my $tests = 't/*.t t/*/*.t';
+if (-d "xt" && scalar(() = glob("xt/*.t"))) {
+  $tests .= " xt/*.t";
+}
+
 my %opts=
   (
    'NAME'         => 'Imager',
@@ -217,6 +223,7 @@ my %opts=
     'XSLoader'    => 0,
    },
    TYPEMAPS       => \@typemaps,
+   test =>        { TESTS => $tests },
   );
 
 if ($coverage) {