Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting prove argument $blib to "-b" for dists with generated .pm files #33

Open
zmughal opened this issue May 28, 2016 · 1 comment
Open

Comments

@zmughal
Copy link
Contributor

zmughal commented May 28, 2016

In auto.bash, the variable $blib is set based on the checking find blib/arch/ -type f ! -empty.

However, sometimes there are files that are generated at build time that are placed under blib/lib (prove -b), but we still have an empty blib/arch. In this case, the tests fail because they can't find these generated files under lib (prove -l).

I get this issue when building an Alien::Base-based package on Travis-CI.

A work around is to add the line

  - export PERL5OPT="${PERL5OPT}${PERL5OPT:+ }"'-Iblib/lib' # work around for Travis Perl helper (auto.bash $blib) 

before the --auto command.

Perhaps it may be worth documenting this or even just sticking to blib='-b'?

@mohawk2
Copy link
Contributor

mohawk2 commented Mar 2, 2020

Is this still a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants