commit:     ef7dfee17a73611e907d61efb8a6da48ff971516
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Mar 28 12:38:31 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 10:40:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7dfee1

dev-java/velocity: set TimeZone for tests #952126

One of four tests in Velocity952TestCase fails when using a different
timezone. we export TZ="Europe/Berlin" in test() phase.

Co-authored-by: Viorel <ceamac.paragon <AT> gmail.com>
Closes: https://bugs.gentoo.org/952126
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/41344
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/velocity/velocity-2.4.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-java/velocity/velocity-2.4.1.ebuild 
b/dev-java/velocity/velocity-2.4.1.ebuild
index 96104026ec65..a867861989ad 100644
--- a/dev-java/velocity/velocity-2.4.1.ebuild
+++ b/dev-java/velocity/velocity-2.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -99,6 +99,7 @@ src_prepare() {
 }
 
 src_test() {
+       local -x TZ="Europe/Berlin"     # https://bugs.gentoo.org/952126
        pushd src/test/java > /dev/null || die
                # DataSourceResourceLoaderTestCase.java requires configured jdbc
                local JAVA_TEST_RUN_ONLY=$(find * \

Reply via email to