Sync from SUSE:SLFO:Main python-pytest-mpi revision 46eb54dae9501dae7d777bec010e050a
This commit is contained in:
parent
dde0dbc7c2
commit
df6a7ef705
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 28 07:30:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Skip some tests that produces a Segmentation fault in s390x
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 10 15:24:16 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu Nov 10 15:24:16 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-mpi
|
# spec file for package python-pytest-mpi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 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
|
||||||
@ -64,7 +64,13 @@ mpi plugin for pytest to collect information from openmpi-based tests.
|
|||||||
export PATH=${PATH}:%{_libdir}/mpi/gcc/%{mpiver}/bin
|
export PATH=${PATH}:%{_libdir}/mpi/gcc/%{mpiver}/bin
|
||||||
source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
|
source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
|
||||||
# Exclude test_fixtures, it fails for i586 arch with Segmentation fault
|
# Exclude test_fixtures, it fails for i586 arch with Segmentation fault
|
||||||
%pytest -v -p pytester --runpytest=subprocess -k 'not test_fixtures'
|
donttest="test_fixtures"
|
||||||
|
%if "%{_arch}" == "s390x"
|
||||||
|
# Exclude some test_mpi_ that fails for s390x arch with Segmentation fault
|
||||||
|
donttest+=" or test_mpi_with_mpi or test_mpi_only_mpi or test_mpi_skip_under_mpi or test_mpi_xfail or test_mpi_xfail_under_mpi"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%pytest -v -p pytester --runpytest=subprocess -k "not ($donttest)"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user