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
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')
-rw-r--r--dev-perl/Date-Manip/Date-Manip-6.510.0.ebuild2
-rw-r--r--dev-perl/Date-Manip/Date-Manip-6.520.0.ebuild2
-rw-r--r--dev-perl/Date-Manip/Date-Manip-6.560.0.ebuild2
-rw-r--r--dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild2
-rw-r--r--dev-perl/Date-Manip/Date-Manip-6.580.0.ebuild2
-rw-r--r--dev-perl/Date-Manip/Date-Manip-6.590.0.ebuild2
6 files changed, 6 insertions, 6 deletions
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
}
diff --git a/dev-perl/Date-Manip/Date-Manip-6.520.0.ebuild b/dev-perl/Date-Manip/Date-Manip-6.520.0.ebuild
index cdbefe8b1d3b..91656ab8096a 100644
--- a/dev-perl/Date-Manip/Date-Manip-6.520.0.ebuild
+++ b/dev-perl/Date-Manip/Date-Manip-6.520.0.ebuild
@@ -34,5 +34,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
}
diff --git a/dev-perl/Date-Manip/Date-Manip-6.560.0.ebuild b/dev-perl/Date-Manip/Date-Manip-6.560.0.ebuild
index 911ba475c8ac..ef055447d448 100644
--- a/dev-perl/Date-Manip/Date-Manip-6.560.0.ebuild
+++ b/dev-perl/Date-Manip/Date-Manip-6.560.0.ebuild
@@ -36,5 +36,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
}
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
}
diff --git a/dev-perl/Date-Manip/Date-Manip-6.580.0.ebuild b/dev-perl/Date-Manip/Date-Manip-6.580.0.ebuild
index 0a571d62778e..0dc45263a219 100644
--- a/dev-perl/Date-Manip/Date-Manip-6.580.0.ebuild
+++ b/dev-perl/Date-Manip/Date-Manip-6.580.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
}
diff --git a/dev-perl/Date-Manip/Date-Manip-6.590.0.ebuild b/dev-perl/Date-Manip/Date-Manip-6.590.0.ebuild
index 40d715307ce2..bbb5c27d7945 100644
--- a/dev-perl/Date-Manip/Date-Manip-6.590.0.ebuild
+++ b/dev-perl/Date-Manip/Date-Manip-6.590.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
}