From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Date-Manip/
Date: Sun, 4 Jun 2017 10:29:20 +0000 (UTC) [thread overview]
Message-ID: <1496572019.5b6ec614b551607143fe1251d95f1ad56c69afb0.kentnl@gentoo> (raw)
commit: 5b6ec614b551607143fe1251d95f1ad56c69afb0
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 4 10:26:37 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sun Jun 4 10:26:59 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6ec614
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 +-
dev-perl/Date-Manip/Date-Manip-6.520.0.ebuild | 2 +-
dev-perl/Date-Manip/Date-Manip-6.560.0.ebuild | 2 +-
dev-perl/Date-Manip/Date-Manip-6.570.0.ebuild | 2 +-
dev-perl/Date-Manip/Date-Manip-6.580.0.ebuild | 2 +-
dev-perl/Date-Manip/Date-Manip-6.590.0.ebuild | 2 +-
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 5f74d8994cb..80e9134c98d 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 cdbefe8b1d3..91656ab8096 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 911ba475c8a..ef055447d44 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 fd928284efd..ccad9edb31e 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 0a571d62778..0dc45263a21 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 40d715307ce..bbb5c27d794 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
}
next reply other threads:[~2017-06-04 10:29 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-04 10:29 Kent Fredric [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-10 8:52 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Date-Manip/ Sam James
2025-03-05 22:36 Sam James
2025-03-05 22:36 Sam James
2025-03-03 20:30 Sam James
2025-03-03 20:28 Sam James
2025-03-03 20:23 Sam James
2025-03-03 20:23 Sam James
2025-03-03 20:20 Sam James
2025-01-22 4:55 Sam James
2024-07-10 4:21 Ionen Wolkens
2024-06-14 0:43 Sam James
2024-05-02 1:36 Sam James
2023-08-01 18:42 Arthur Zamarin
2023-07-24 4:12 Sam James
2023-06-17 21:03 Sam James
2022-12-18 18:57 Arthur Zamarin
2022-12-18 11:35 Sam James
2022-12-18 11:34 Sam James
2022-09-02 0:30 Sam James
2022-09-02 0:30 Sam James
2022-01-24 19:19 Sam James
2022-01-03 23:26 David Seifert
2021-08-13 1:05 Sam James
2021-08-06 12:16 Sam James
2021-08-03 11:05 Sam James
2021-08-02 3:22 Sam James
2021-08-01 8:25 Sam James
2021-05-16 0:20 Sam James
2021-05-16 0:20 Sam James
2021-05-16 0:07 Sam James
2021-05-16 0:03 Sam James
2021-05-16 0:03 Sam James
2021-05-16 0:03 Sam James
2021-05-15 23:32 Andreas K. Hüttel
2020-12-27 14:54 Fabian Groffen
2020-07-24 10:32 Kent Fredric
2020-07-18 4:43 Kent Fredric
2019-10-21 8:39 Fabian Groffen
2019-05-04 18:46 Andreas K. Hüttel
2019-04-26 11:32 Anthony G. Basile
2018-07-10 19:47 Markus Meier
2018-06-25 18:56 Tobias Klausmann
2018-06-12 15:20 Mikle Kolyada
2018-06-07 10:13 Agostino Sarubbo
2018-06-06 16:37 Sergei Trofimovich
2018-06-03 10:40 Sergei Trofimovich
2017-10-09 21:22 Kent Fredric
2017-06-04 9:18 Kent Fredric
2017-03-22 10:33 Kent Fredric
2016-12-05 14:15 Kent Fredric
2016-10-22 19:27 Andreas Hüttel
2016-08-04 3:03 Kent Fredric
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496572019.5b6ec614b551607143fe1251d95f1ad56c69afb0.kentnl@gentoo \
--to=kentnl@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox