From 069bc6cc7fe190eeba2edb7431dbfb3475081ba5 Mon Sep 17 00:00:00 2001 From: Tomas Pelka Date: Wed, 1 Jul 2026 17:06:12 +0200 Subject: [PATCH] Disable meson test suite at build time (enable_tests=0) The meson test suite requires dbus-launch and DRI3/GPU support not available in hermetic Konflux/mock build containers. Disable it via enable_tests=0; tests are covered by QE gating instead. Resolves: RHEL-183553 --- gjs.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gjs.spec b/gjs.spec index 3ff27f1..c5968ec 100644 --- a/gjs.spec +++ b/gjs.spec @@ -3,6 +3,7 @@ %global mozjs78_version 78.10.0-1 %global bundled_mozjs 1 +%global enable_tests 0 %if 0%{?bundled_mozjs} %global mozjs_major 78 @@ -20,7 +21,7 @@ Name: gjs Version: 1.68.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Javascript Bindings for GNOME # The following files contain code from Mozilla which @@ -277,7 +278,9 @@ PYTHONPATH=tests/lib %{__python3} jit-test/jit_test.py -s -t 1800 --no-progress popd %endif +%if 0%{?enable_tests} %{shrink:xvfb-run -s "-screen 0 1600x1200x24" %meson_test --timeout-multiplier=5} +%endif %files %license COPYING @@ -302,6 +305,10 @@ popd %{_datadir}/installed-tests/ %changelog +* Tue Jul 01 2026 Tomas Pelka - 1.68.6-5 +- Disable meson test suite at build time (enable_tests=0); covered by QE gating + Resolves: RHEL-183553 + * Tue May 16 2023 Florian Müllner - 1.68.6-4 - Always initialize callback return value Resolves: #2196877