From 7f019954460801a5fe480640cf2674dbcca9f625 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 7 Dec 2007 17:15:22 -0600 Subject: [PATCH] installer (part 3): enabled 'make test' --- Makefile.PL | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 41c03b4b3c..e29daba5df 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -404,9 +404,6 @@ WriteMakefile( INSTALLMAN1DIR => File::Spec->catdir($target_directories{'MAN_DIR'}, 'man1'), INSTALLMAN3DIR => File::Spec->catdir($target_directories{'MAN_DIR'}, 'man3'), - # disable tests - 'test' => {TESTS => 't/dummy.t'}, - # CONFIGURE => sub { # # Ask for options with prompt($question,$default) calls here? # return { macro => { 'export TEST' => '755' } } @@ -835,6 +832,14 @@ sub get_target_directories { } package MY; + +sub test { + my $self = shift; + my $test = $self->SUPER::test(@_); + $test =~ s!\$\(INST_LIB\)!blib/PERL_MODULE_DIR!g; + return $test; +} + sub install { my $self = shift; my $install = ""; -- 2.20.1