From 5b6ec614b551607143fe1251d95f1ad56c69afb0 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sun, 4 Jun 2017 22:26:37 +1200 Subject: dev-perl/Date-Manip: Ensure tests are run under TZ=UTC On a stock gentoo install from stage 3, the TZ is set to "factory", and unless this is changed, this causes these tests to fail. As the point of tests are to ensure the code works, not to ensure the users system is an arbitrary definition of sane, these tests failing do more harm than good. It may be worth adding additional check code to warn the user of this condition, as its still there even for users who dont' run tests, and a customized warning will give more gentoo-specific help than some generic perl failure can. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- dev-perl/Date-Manip/Date-Manip-6.510.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev-perl/Date-Manip/Date-Manip-6.510.0.ebuild') diff --git a/dev-perl/Date-Manip/Date-Manip-6.510.0.ebuild b/dev-perl/Date-Manip/Date-Manip-6.510.0.ebuild index 5f74d8994cb9..80e9134c98dd 100644 --- a/dev-perl/Date-Manip/Date-Manip-6.510.0.ebuild +++ b/dev-perl/Date-Manip/Date-Manip-6.510.0.ebuild @@ -36,5 +36,5 @@ mydoc="HISTORY" src_test() { perl_rm_files t/pod_coverage.t t/pod.t - perl-module_src_test + TZ=UTC perl-module_src_test } -- cgit v1.2.3-65-gdbad