14
0

Accepting request 1044204 from devel:languages:python

- Increase timeout for running tests

OBS-URL: https://build.opensuse.org/request/show/1044204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyscreenshot?expand=0&rev=3
This commit is contained in:
2022-12-24 17:01:49 +00:00
committed by Git OBS Bridge
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 22 09:54:12 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Increase timeout for running tests
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 2 09:00:03 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com> Fri Dec 2 09:00:03 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -94,7 +94,7 @@ cd tests/
# test_maim fails on Leap 15.x # test_maim fails on Leap 15.x
%{python_expand # Necessary to run configure with all python flavors %{python_expand # Necessary to run configure with all python flavors
export PYTHONPATH=%{buildroot}%{$python_sitelib} export PYTHONPATH=%{buildroot}%{$python_sitelib}
xvfb-run --server-args "-br -screen 0 900x800x24" $python -m pytest -v -k 'not test_maim' xvfb-run --server-args "-br -screen 0 900x800x24" -w 5 $python -m pytest -v -k 'not test_maim'
rm -rf /tmp/fillscreen* rm -rf /tmp/fillscreen*
} }
%endif %endif