Summary: | dev-perl/OOTools-2.300.0 - fails t/test_pod.t | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | [OLD] Library | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | TESTFAILURE |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://rt.cpan.org/Ticket/Display.html?id=86175 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 300119 | ||
Attachments: | OOTools-2.300.0-r1.ebuild |
Description
Kent Fredric (IRC: kent\n) (RETIRED)
2013-06-16 00:08:29 UTC
confirmed, fails for me. Can't stat can be fixed by setting: index a10ce99..0217b57 100644 --- a/t/test_pod.t +++ b/t/test_pod.t @@ -5,7 +5,7 @@ use Test::More; eval "use Test::Pod 1.00"; plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; -my @poddirs = qw( blib ../lib); +my @poddirs = qw( blib lib); all_pod_files_ok( all_pod_files( @poddirs ) ); however it will not fix main problem: # blib/lib/Class/groups.pm (160): Expected text after =item, not a bullet Created attachment 386696 [details] OOTools-2.300.0-r1.ebuild This ebuild nukes the author tests, and subsequently nukes the need for dependencies author tests requires. One of the changes is it adds this blob of code in src_test +src_prepare() { + einfo "Removing unwanted author tests" + rm -f "${S}/t/test_pod.t" + rm -f "${S}/t/test_pod_coverage.t" + # This silences warnings by EUMM about missing files. + grep -v '^t/test_pod' "${S}/MANIFEST" > "${S}/MANIFEST.tmp" + mv -f -- "${S}/MANIFEST.tmp" "${S}/MANIFEST" +} Which is a hand simplified version of the logic I suggest in bug 520756 , which I've been relatively happy with now on the overlay. Complete diff for review purposes: https://gist.github.com/kentfredric/4615d201de9b0421aae6 Kent's patch applied. --- ./ChangeLog +++ ./ChangeLog @@ -4,0 +5,3 @@ + 01 Nov 2014; Patrice Clement <monsieurp@gentoo.org> OOTools-2.300.0-r1.ebuild: + Removing unwanted tests. See #473436. + |