Changeset 8160 for inc

Show
Ignore:
Timestamp:
12/10/05 23:16:11 (3 years ago)
Author:
pjf
Message:

Only query '$self->tests' if we haven't been given an explicit list
from makemaker_args.

This should be reviewed/submitted/corrected for main M::I inclusion.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/Module/Install/Makefile.pm

    r8125 r8160  
    6262    $args->{VERSION} = $self->version || $self->determine_VERSION($args); 
    6363    $args->{NAME} =~ s/-/::/g; 
    64     $args->{test} = {TESTS => $self->tests}; 
     64 
     65    # Only call $self->tests if we haven't been given explicit 
     66    # tests from makemaker_args. 
     67 
     68    $args->{test} ||= {TESTS => $self->tests}; 
    6569 
    6670    if ($] >= 5.005) {