Git Product home page Git Product logo

Comments (6)

karenetheridge avatar karenetheridge commented on August 26, 2024

Adding this before the ->build call works: unshift @INC, 't/empty_dir'; --- so it looks like the test builder should do this first.

Alternatively, we need to chdir into the corpus directory so the normal '.' entry in @inc picks up the inc/ dir, as would happen with a normal 'dzil build' where we are already in the corpus directory. Perhaps the test builder should always do this???

from dist-zilla.

rjbs avatar rjbs commented on August 26, 2024

I may have fixed this in f903aa6 on dev-v6.

Do you have a test? Fancy crafting one?

from dist-zilla.

kentfredric avatar kentfredric commented on August 26, 2024

the normal '.' entry in @inc picks up the inc/ dir,

This is looking like it could go away by default sometime after 5.25

https://rt.perl.org/Public/Bug/Display.html?id=127810

May break lots of CPAN.

( Yes, the ABSTRACT of that issue suggests "give us an option to make this happen", but by the time you reach the bottom its "this should be complied in by default with a way to get rid of it via %ENV" )

from dist-zilla.

plicease avatar plicease commented on August 26, 2024

'.' can be removed from @INC by default as of 5.25.7:

https://metacpan.org/pod/release/EXODIST/perl-5.25.7/pod/perldelta.pod#and-INC

Under this configuration, t/tester-local-plugins.t fails.

from dist-zilla.

karenetheridge avatar karenetheridge commented on August 26, 2024

The problem is not really in this distribution at all, but way back in Config::MVP -- where the special handling of local plugins is done.

from dist-zilla.

plicease avatar plicease commented on August 26, 2024

Interesting, Config::MVP installs fine for me, so it seems that it isn't testing for this.

from dist-zilla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.