Accepting request 874729 from home:bnavigator:branches:devel:languages:python:numeric
Oops. - Disable most of the test suite. The offending code not working with pytest 6.2 is in the test suite, not the plugin code itself gh#pytest-mpi/issues#17 OBS-URL: https://build.opensuse.org/request/show/874729 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pytest-mpi?expand=0&rev=4
This commit is contained in:
parent
8c22e33801
commit
37b08ab142
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 23 22:07:18 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Disable most of the test suite. The offending code not working
|
||||||
|
with pytest 6.2 is in the test suite, not the plugin code itself
|
||||||
|
gh#pytest-mpi/issues#17
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 4 13:23:28 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
Fri Dec 4 13:23:28 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-mpi
|
# spec file for package python-pytest-mpi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 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
|
||||||
@ -57,8 +57,9 @@ mpi plugin for pytest to collect information from openmpi-based tests.
|
|||||||
export PATH=${PATH}:%{_libdir}/mpi/gcc/openmpi2/bin
|
export PATH=${PATH}:%{_libdir}/mpi/gcc/openmpi2/bin
|
||||||
source %{_libdir}/mpi/gcc/openmpi2/bin/mpivars.sh
|
source %{_libdir}/mpi/gcc/openmpi2/bin/mpivars.sh
|
||||||
# include `-p pytester` as pytester needs to be manually activated (see https://pytest-mpi.readthedocs.io/en/latest/contributing.html)
|
# include `-p pytester` as pytester needs to be manually activated (see https://pytest-mpi.readthedocs.io/en/latest/contributing.html)
|
||||||
# Also see gh#aragilar/pytest-mpi#14 for two failing tests disabled here
|
# our pytest version does not like the subclassing of _pytest.Testdir. This disables almost the entire test suite
|
||||||
%pytest -v -p pytester -k 'not test_mpi_with_mpi and not test_mpi_only_mpi'
|
# gh#aragilar/pytest-mpi#17
|
||||||
|
%pytest -v -p pytester -k "not (test_fixtures or (test_markers and (with_mpi or only_mpi or under_mpi)))"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user