From d2690887dc98393df93ebe2d1f240c15dd67dc11 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 13 Jun 2024 13:19:40 +0200 Subject: [PATCH] Run tests in explicit offline mode Ant build.xml can check itself if running in offline mode, but it takes a few minutes for network connection to time out. To speed up test execution we explicitly enable offline mode of Ant tests. Related: RHEL-5354 --- ant.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ant.spec b/ant.spec index 15ec589..47266f6 100644 --- a/ant.spec +++ b/ant.spec @@ -507,7 +507,7 @@ install -p -m 644 man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %if %{without bootstrap} %check -LC_ALL=C.UTF-8 %{ant} test +LC_ALL=C.UTF-8 %{ant} -Doffline=true test %endif %files