From 7b72aee235c6af48778cbf8252c404ff90fe8807ce90b1d30525b61ff74ba926 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 26 Mar 2024 08:57:53 +0000 Subject: [PATCH] - Run tests with xvfb-run OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-liblarch?expand=0&rev=19 --- python-liblarch.changes | 5 +++++ python-liblarch.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-liblarch.changes b/python-liblarch.changes index 3c4e0e5..e918b77 100644 --- a/python-liblarch.changes +++ b/python-liblarch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 26 08:57:34 UTC 2024 - Daniel Garcia + +- Run tests with xvfb-run + ------------------------------------------------------------------- Mon Jan 22 23:34:05 UTC 2024 - Dirk Müller diff --git a/python-liblarch.spec b/python-liblarch.spec index 52c826f..19c6f8f 100644 --- a/python-liblarch.spec +++ b/python-liblarch.spec @@ -35,6 +35,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: xvfb-run BuildRequires: typelib(Gtk) >= 3.0 Requires: python-gobject BuildArch: noarch @@ -70,7 +71,9 @@ This package provides GTK bindings for liblarch. # TESTS fail with segf, local execution works %check -%python_exec ./run-tests +%{python_expand # +xvfb-run $python ./run-tests +} %files %{python_files} %license LICENSE