forked from pool/python-pythran
- fix the test-flavor splitting for python311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pythran?expand=0&rev=20
This commit is contained in:
parent
4fed4eb6fe
commit
cbb6e21bc1
@ -18,6 +18,7 @@ Mon May 15 15:19:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|||||||
* Get rid of unused functions C++ warnings
|
* Get rid of unused functions C++ warnings
|
||||||
* Avoid generating a loop footer when the loop index is not used
|
* Avoid generating a loop footer when the loop index is not used
|
||||||
outside of the loop.
|
outside of the loop.
|
||||||
|
- fix the test-flavor splitting for python311
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 25 10:22:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Wed Jan 25 10:22:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
%define psuffix -test-py38
|
%define psuffix -test-py38
|
||||||
%define skip_python39 1
|
%define skip_python39 1
|
||||||
%define skip_python310 1
|
%define skip_python310 1
|
||||||
|
%define skip_python311 1
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
%endif
|
%endif
|
||||||
@ -28,6 +29,7 @@ ExclusiveArch: x86_64
|
|||||||
%define psuffix -test-py39
|
%define psuffix -test-py39
|
||||||
%define skip_python38 1
|
%define skip_python38 1
|
||||||
%define skip_python310 1
|
%define skip_python310 1
|
||||||
|
%define skip_python311 1
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
%endif
|
%endif
|
||||||
@ -35,6 +37,15 @@ ExclusiveArch: x86_64
|
|||||||
%define psuffix -test-py310
|
%define psuffix -test-py310
|
||||||
%define skip_python38 1
|
%define skip_python38 1
|
||||||
%define skip_python39 1
|
%define skip_python39 1
|
||||||
|
%define skip_python311 1
|
||||||
|
%bcond_without test
|
||||||
|
ExclusiveArch: x86_64
|
||||||
|
%endif
|
||||||
|
%if "%{flavor}" == "test-py311"
|
||||||
|
%define psuffix -test-py311
|
||||||
|
%define skip_python38 1
|
||||||
|
%define skip_python39 1
|
||||||
|
%define skip_python310 1
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
%endif
|
%endif
|
||||||
@ -129,7 +140,7 @@ export CFLAGS="%{optflags}"
|
|||||||
donttest="test_operator_intersection"
|
donttest="test_operator_intersection"
|
||||||
# gh#serge-sans-paille/pythran#2044 NOT FIXED by gh#serge-sans-paille/pythran#2046
|
# gh#serge-sans-paille/pythran#2044 NOT FIXED by gh#serge-sans-paille/pythran#2046
|
||||||
donttest="$donttest or test_toolchain or test_cli"
|
donttest="$donttest or test_toolchain or test_cli"
|
||||||
%pytest -n auto -k "not ($donttest)" -m "not module"
|
%pytest %{?jobs:-n %jobs} -k "not ($donttest)" -m "not module"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
Reference in New Issue
Block a user