You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'?
The text was updated successfully, but these errors were encountered:
In auto.bash, the variable
$blib
is set based on the checkingfind 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 emptyblib/arch
. In this case, the tests fail because they can't find these generated files underlib
(prove -l
).I get this issue when building an
Alien::Base
-based package on Travis-CI.A work around is to add the line
before the
--auto
command.Perhaps it may be worth documenting this or even just sticking to
blib='-b'
?The text was updated successfully, but these errors were encountered: