Am 26.06.2015 um 13:49 schrieb Aldo Calpini:
On 20/06/15 12:52, K. Wittrock wrote:
set PERL5LIB=lib
prove xt
set PERL5LIB=
you can get rid of the silly PERL5LIB stuff with:
prove --lib xt
Thank you.
also, be aware that testing the not-yet-built lib folder isn't going to
work for XS modules, or any module which does something more than just
copying files around in the build procedure.
It's some decades ago that I coded in C++. So I will probably never
create or modify an XS module.
I would personally do this *after* having run perl Build.PL / Build
(that's more similar to what Build test does):
prove --blib xt
I prefer to do my author tests as early as possible. When seeking the
proper place for prove in the Build run, I never observed a difference
in the results.
Klaus