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@gmail.com>
Closes: https://bugs.gentoo.org/952126
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/41344
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2025-03-28 13:38:31 +01:00
committed by Arthur Zamarin
parent 4b12892394
commit ef7dfee17a

View File

@@ -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 * \