summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-04 22:26:37 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-04 22:26:59 +1200
commit5b6ec614b551607143fe1251d95f1ad56c69afb0 (patch)
treef6972bf5bd5ab925a2c3de964ac0a707cab7e4df /dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild
parentsci-geosciences/merkaartor: Drop USE=qt5,qrcode (diff)
downloadgentoo-5b6ec614b551607143fe1251d95f1ad56c69afb0.tar.gz
gentoo-5b6ec614b551607143fe1251d95f1ad56c69afb0.tar.bz2
gentoo-5b6ec614b551607143fe1251d95f1ad56c69afb0.zip
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
Diffstat (limited to 'dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild')
-rw-r--r--dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild b/dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild
index fd928284efd2..ccad9edb31e3 100644
--- a/dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild
+++ b/dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild
@@ -33,5 +33,5 @@ DEPEND="${RDEPEND}
src_test() {
perl_rm_files t/pod_coverage.t t/pod.t
- perl-module_src_test
+ TZ=UTC perl-module_src_test
}