installer (part 3): enabled 'make test'

This commit is contained in:
Galen Charlton 2007-12-07 17:15:22 -06:00
parent 5befdd2cd3
commit 7f01995446
1 changed files with 8 additions and 3 deletions

View File

@ -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 = "";