14
0

- Disable broken test, test_disp_var

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyVirtualDisplay?expand=0&rev=32
This commit is contained in:
2023-02-22 17:17:49 +00:00
committed by Git OBS Bridge
parent d807aafdd4
commit 6c5c126c4d
2 changed files with 8 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -77,6 +77,8 @@ PyVirtualDisplay is a python wrapper for Xvfb, Xephyr and Xvnc.
%if %{with test}
%check
donttest="examples or smart"
# This test fails sometimes because a race condition with threads
donttest+=" or test_disp_var"
%{python_expand #
export PYTHONPATH=%{buildroot}%{$python_sitelib}
xvfb-run --server-args "-screen 0 1920x1080x24" \