develooper Front page | perl.perl5.porters | Postings from August 2016

[perl #128953] [PATCH] Use set_up_inc for several unit tests

Thread Previous
Father Chrysostomos via RT
August 15, 2016 23:06
[perl #128953] [PATCH] Use set_up_inc for several unit tests
Message ID:
On Mon Aug 15 15:31:33 2016, wrote:
> Note: some tests cannot use 'require',
> unshfit is then used for them.

unshift is not acceptable when tests are run under perl proper (as opposed to miniperl), because directories in the default @INC may include existing directories if there is already a blead installation.  Tests should not be loading things from outside the build directory.  Doing so leads to problems that are very hard to diagnose.  I know, because I’ve been there before.


Father Chrysostomos

via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About