commit:     132e339aabba71063c41b4e6b27f7c52026890dc
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 11:39:04 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 11:39:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132e339a

dev-perl/Dist-Zilla: Fix test failures w/ TZ=Factory

Gentoo stock images have localtime as Factory which breaks various
test modules superflously in tests.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild 
b/dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild
index 606e84c34a7..fb90b56adf7 100644
--- a/dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild
+++ b/dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild
@@ -152,3 +152,6 @@ DEPEND="${RDEPEND}
                >=virtual/perl-Test-Simple-0.960.0
        )
 "
+src_test() {
+       TZ=UTC perl-module_src_test
+}

Reply via email to