forked from pool/python-wxPython
Accepting request 1046129 from home:dirkmueller:Factory
- Add python-pytest-forked as test dependency * The pytest parameter --forked is provided by python-pytest-forked which is no longer a transitive build requirement of python-pytest-xdist * gh#pytest-dev/pytest-xdist#468, gh#pytest-dev/pytest-xdist#821 OBS-URL: https://build.opensuse.org/request/show/1046129 OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=34
This commit is contained in:
parent
5620729dc5
commit
8d78255baa
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 5 13:07:46 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Add python-pytest-forked as test dependency
|
||||||
|
* The pytest parameter --forked is provided by python-pytest-forked
|
||||||
|
which is no longer a transitive build requirement of
|
||||||
|
python-pytest-xdist
|
||||||
|
* gh#pytest-dev/pytest-xdist#468, gh#pytest-dev/pytest-xdist#821
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 13 23:03:31 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Aug 13 23:03:31 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -146,6 +146,7 @@ Obsoletes: %{python_provides}-wxPython < %{version}-%{release}
|
|||||||
%endif
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module numpy}
|
||||||
|
BuildRequires: %{python_module pytest-forked}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
@ -260,8 +261,10 @@ sleep 5
|
|||||||
# Make sure "import wx" does not confuse the wx dir with the module
|
# Make sure "import wx" does not confuse the wx dir with the module
|
||||||
mv wx wx_temp
|
mv wx wx_temp
|
||||||
|
|
||||||
|
# pytest --forked from python-pytest-forked:
|
||||||
# Run each test as a separate process, otherwise multiple app
|
# Run each test as a separate process, otherwise multiple app
|
||||||
# instances will corrupt each others static data
|
# instances will corrupt each others static data.
|
||||||
|
#
|
||||||
# Run UiAction tests one by one
|
# Run UiAction tests one by one
|
||||||
%pytest_arch --forked -n 1 -k 'test_uiaction or test_mousemanager' unittests/
|
%pytest_arch --forked -n 1 -k 'test_uiaction or test_mousemanager' unittests/
|
||||||
# Skip Auto ID management test (only enabled on Windows)
|
# Skip Auto ID management test (only enabled on Windows)
|
||||||
|
Loading…
Reference in New Issue
Block a user