commit:     99d688360e15b6c355c721aa03b302f053a7bd16
Author:     matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Thu Jun 30 23:16:42 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 20:35:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d68836

dev-libs/glib: set TZ=UTC for tests

datetime test may fail if timezone is not UTC

Closes: https://github.com/gentoo/gentoo/pull/26177
Signed-off-by: matoro <matoro <AT> users.noreply.github.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/glib/glib-2.72.2.ebuild | 1 +
 dev-libs/glib/glib-2.72.3.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-libs/glib/glib-2.72.2.ebuild b/dev-libs/glib/glib-2.72.2.ebuild
index b5103a775b23..f22168fe6962 100644
--- a/dev-libs/glib/glib-2.72.2.ebuild
+++ b/dev-libs/glib/glib-2.72.2.ebuild
@@ -183,6 +183,7 @@ multilib_src_test() {
        export XDG_DATA_DIRS=/usr/local/share:/usr/share
        export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
        export LC_TIME=C # bug #411967
+       export TZ=UTC
        unset GSETTINGS_BACKEND # bug #596380
        python_setup
 

diff --git a/dev-libs/glib/glib-2.72.3.ebuild b/dev-libs/glib/glib-2.72.3.ebuild
index 269d854fb717..98e294f212e9 100644
--- a/dev-libs/glib/glib-2.72.3.ebuild
+++ b/dev-libs/glib/glib-2.72.3.ebuild
@@ -183,6 +183,7 @@ multilib_src_test() {
        export XDG_DATA_DIRS=/usr/local/share:/usr/share
        export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
        export LC_TIME=C # bug #411967
+       export TZ=UTC
        unset GSETTINGS_BACKEND # bug #596380
        python_setup
 

Reply via email to