From 2bd21beba08e0522a17d7c66ac7fe1fb80d5d4dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Thu, 10 Apr 2025 09:46:24 +0300 Subject: [PATCH] Stop quering gtk version using rpm Tests no longer run on rpm distribution so this effectively removes "rpm: command not found" and empty "GTK Version: " output from tests consolelog (e.g. https://download.eclipse.org/eclipse/downloads/drops4/I20250409-1800/testresults/consolelogs/ep436I-unit-linux-x86_64-java24_linux.gtk.x86_64_24_consolelog.txt ). As nobody probably knew about this output I am not looking into converting it to dpkg command but remove the output altogether. It is simpler to run the command (commands as one may need also glib, webkitgtk, glibc, pango, etc. versions) in dedicated Jenkins job to figure out whatever info is needed. --- .../configuration/sdk.tests/testScripts/runtests.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/production/testScripts/configuration/sdk.tests/testScripts/runtests.sh b/production/testScripts/configuration/sdk.tests/testScripts/runtests.sh index 93562142c26..faebe6e9221 100755 --- a/production/testScripts/configuration/sdk.tests/testScripts/runtests.sh +++ b/production/testScripts/configuration/sdk.tests/testScripts/runtests.sh @@ -27,12 +27,9 @@ then echo "ERROR: No JVM define, or the defined one was found to not be executable" exit 1 fi -#Extract GTK Version and host name -gtkVersion=$(rpm -q gtk3|cut -d- -f2) echo "Jvm : ${jvm}" echo "Host : $(hostname)" -echo "GTK Version: ${gtkVersion}" stableEclipseInstallLocation=${stableEclipseInstallLocation:-${WORKSPACE}/workarea/${buildId}/eclipse-testing/platformLocation/} # Note: test.xml will "reinstall" fresh install of what we are testing,