Subject: | tapper-testplan-reporter.t hangs when some of dependencies are missing |
AppConfig fails with perl 5.17.x, so any modules that depend on it fail too. It would be simple to just check if Template can be loaded in t/tapper-testplan-reporter.t.
CPAN.pm: Building T/TA/TAPPER/Tapper-Testplan-4.1.2.tar.gz
Warning: Prerequisite 'Tapper::Cmd::Testplan => 0' for 'TAPPER/Tapper-Testplan-4.1.2.tar.gz' failed when processing 'TAPPER/Tapper-Cmd-4.1.8.tar.gz' with 'make_test => NO one dependency not OK (Tapper::Reports::DPath::TT); additionally test harness failed'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Template => 0' for 'TAPPER/Tapper-Testplan-4.1.2.tar.gz' failed when processing 'ABW/Template-Toolkit-2.24.tar.gz' with 'make_test => NO one dependency not OK (AppConfig); additionally test harness failed'. Continuing, but chances to succeed are limited.
....
Running make test
PERL_DL_NONLAZY=1 /home/c/perl5/perlbrew/perls/perl-5.17.11/bin/perl5.17.11 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/tapper-testplan-generator.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
(less 6 skipped subtests: 0 okay)
Can't locate Template.pm in @INC (you may need to install the Template module) (@INC contains: /home/c/.cpan/build/Tapper-Testplan-4.1.2-oMZQ1p/blib/lib /home/c/.cpan/build/Tapper-Testplan-4.1.2-oMZQ1p/blib/arch /home/c/perl5/perlbrew/perls/perl-5.17.11/lib/site_perl/5.17.11/i686-linux /home/c/perl5/perlbrew/perls/perl-5.17.11/lib/site_perl/5.17.11 /home/c/perl5/perlbrew/perls/perl-5.17.11/lib/5.17.11/i686-linux /home/c/perl5/perlbrew/perls/perl-5.17.11/lib/5.17.11 .) at /home/c/.cpan/build/Tapper-Testplan-4.1.2-oMZQ1p/blib/lib/Tapper/Testplan/Plugins/Taskjuggler.pm line 25.
BEGIN failed--compilation aborted at /home/c/.cpan/build/Tapper-Testplan-4.1.2-oMZQ1p/blib/lib/Tapper/Testplan/Plugins/Taskjuggler.pm line 25.
Compilation failed in require at /home/c/perl5/perlbrew/perls/perl-5.17.11/lib/site_perl/5.17.11/Test/MockModule.pm line 26.
# Tests were run but no plan was declared and done_testing() was not seen.
--
Alexandr Ciornii, http://chorny.net