geektron has asked for the wisdom of the Perl Monks concerning the following question:
sample output of the tests:
where the test output indicates usage of a previously installed version, while all of my new distro source is in /opt/source/perl/PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_ini..........................ok t/02_bad_constructor..............Odd number of elements in hash assig +nment at /usr/local/lib/perl5/site_perl/5.6.1/ExtUtils/ModuleMaker.pm + line 232.
i'm not clear on what the UNINST=1 flag would do, but for now, i don't want to install the new dist, just make sure it passes all the tests ...
i must be missing something obvious.
UPDATE:
more for posterity than anything else, i got an answer of sorts to this on another mailing list (perl-qa).
older versions of ExtUtils::MakeMaker used relative paths in @INC ... so any tests w/ a chdir lose ./blib/lib in @INC, and tests will use a previously installed version (if it can be found in @INC) or fail outright.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: "make test" problems with previously installed module
by gellyfish (Monsignor) on Sep 08, 2005 at 18:59 UTC | |
by geektron (Curate) on Sep 08, 2005 at 23:39 UTC | |
by Tanktalus (Canon) on Sep 08, 2005 at 23:55 UTC | |
by geektron (Curate) on Sep 11, 2005 at 17:30 UTC | |
by geektron (Curate) on Sep 08, 2005 at 19:09 UTC |