|Subject:||System perl used in tests|
On my smoker systems the test suite fails like this: Can't locate Lingua/EN/Alphabet/Shaw.pm in @INC (you may need to install the Lingua::EN::Alphabet::Shaw module) (@INC contains: /tmpfs/.cpan-build-cpansand/2016090303/App-Bernard-0.01-0/lib /tmpfs/.cpan-build-cpansand/2016090303/App-Bernard-0.01-0/inc /tmpfs/.cpan-build-cpansand/2016090303/App-Bernard-0.01-0/blib/lib /tmpfs/.cpan-build-cpansand/2016090303/App-Bernard-0.01-0/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /tmpfs/.cpan-build-cpansand/2016090303/App-Bernard-0.01-0/lib/App/Bernard.pm line 7. BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016090303/App-Bernard-0.01-0/lib/App/Bernard.pm line 7. Compilation failed in require at /tmpfs/.cpan-build-cpansand/2016090303/App-Bernard-0.01-0/script/bernard line 4. BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016090303/App-Bernard-0.01-0/script/bernard line 4. Couldn't close script: at t/main.t line 76. # Looks like your test exited with 2 before it could output anything. t/main.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests The contents of @INC suggest that /usr/bin/perl is used here, but not the perl used for the build. Usually this can be fixed by using $^X or the script already installd to blib/scripts (because shebang is here already corrected).