1
0
forked from pool/python-sherpa

Accepting request 1172907 from home:badshah400:lapack2023

Do not run tests in parallel to avoid random failures (gh#sherpa/sherpa#2031).

OBS-URL: https://build.opensuse.org/request/show/1172907
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=40
This commit is contained in:
Markéta Machová 2024-05-10 07:50:13 +00:00 committed by Git OBS Bridge
parent 0cf622083d
commit da2366ddf7
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 8 19:28:20 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Do not run tests in parallel to avoid random failures
(gh#sherpa/sherpa#2031).
-------------------------------------------------------------------
Sun Feb 18 15:31:44 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -107,7 +107,8 @@ donttest+=" or (test_regproj and sherpa.plot.dummy_backend)"
donttest+=" or (test_fit_single and Chi2XspecVar)"
%endif
donttest+=" or test_Griewank"
%pytest_arch %{?jobs:-n %jobs} --pyargs sherpa -k "not ($donttest)"
# Tests must not be run in parallel https://github.com/sherpa/sherpa/issues/2031
%pytest_arch -n1 --pyargs sherpa -k "not ($donttest)"
%post
%python_install_alternative sherpa_smoke