Subject: | System perl used in tests |
The test suite fails on some of my smoker systems:
...
Can't locate CGI.pm in @INC (@INC contains: /home/cpansand/.cpan/build/2019050223/HTML-EditableTable-0.21-0/blib/lib /home/cpansand/.cpan/build/2019050223/HTML-EditableTable-0.21-0/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at example/example_1.cgi line 7.
BEGIN failed--compilation aborted at example/example_1.cgi line 7.
# Failed test 'example_1.cgi view-mode table html produced'
# at t/table_html.t line 22.
# ''
# doesn't match '(?^:\</table\>)'
...
It seems that the test cgi scripts use the system perl, not the perl used for building this distribution. And this system perl does not have CGI.pm installed, hence the failures.