From ef7dfee17a73611e907d61efb8a6da48ff971516 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Fri, 28 Mar 2025 13:38:31 +0100 Subject: [PATCH] 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 Closes: https://bugs.gentoo.org/952126 Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo/pull/41344 Signed-off-by: Arthur Zamarin --- 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 96104026ec651..a867861989adf 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 * \