diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-04-29 21:53:15 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-04-29 21:53:15 +1200 |
commit | 4579de55fabb7d9377ae5d2de0448c0b7f2daaca (patch) | |
tree | 91f75cf93362238d1215e105e1b763d506e30229 | |
parent | dev-perl/Gtk2-AppIndicator: Fix tests with virtualx (diff) | |
download | gentoo-4579de55fabb7d9377ae5d2de0448c0b7f2daaca.tar.gz gentoo-4579de55fabb7d9377ae5d2de0448c0b7f2daaca.tar.bz2 gentoo-4579de55fabb7d9377ae5d2de0448c0b7f2daaca.zip |
dev-perl/HTML-Object: Fix tests dependent on system timezone
Tests break when timezone is still configured to "Factory" TZ
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r-- | dev-perl/HTML-Object/HTML-Object-2.29-r2.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-perl/HTML-Object/HTML-Object-2.29-r2.ebuild b/dev-perl/HTML-Object/HTML-Object-2.29-r2.ebuild index f08c63ca31f1..c0c3de3f584c 100644 --- a/dev-perl/HTML-Object/HTML-Object-2.29-r2.ebuild +++ b/dev-perl/HTML-Object/HTML-Object-2.29-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,6 +22,10 @@ SRC_TEST="do" S=${WORKDIR}/${MY_P} +src_test() { + TZ=UTC perl-module_src_test +} + src_install() { perl-module_src_install if use examples; then |