For Subversion 1.9, only run test suite with Py2 (Py3 supported with 1.10).
This commit is contained in:
parent
0006eb7232
commit
826f2c3689
@ -1,17 +1,17 @@
|
|||||||
# set to zero to avoid running test suite
|
# set to zero to avoid running test suite
|
||||||
|
|
||||||
|
%bcond_without kwallet
|
||||||
|
%bcond_without python2
|
||||||
|
%bcond_with python3
|
||||||
|
|
||||||
%ifarch %{power64} s390x
|
%ifarch %{power64} s390x
|
||||||
%global with_java 0
|
%global with_java 0
|
||||||
%global make_check 0
|
%global make_check 0
|
||||||
%else
|
%else
|
||||||
%global with_java 1
|
%global with_java 1
|
||||||
%global make_check 1
|
%global make_check %{with python2}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%bcond_without kwallet
|
|
||||||
%bcond_without python2
|
|
||||||
%bcond_with python3
|
|
||||||
|
|
||||||
%if %{with python2} == %{with python3}
|
%if %{with python2} == %{with python3}
|
||||||
%error Pick exactly one Python version
|
%error Pick exactly one Python version
|
||||||
%endif
|
%endif
|
||||||
@ -386,6 +386,11 @@ export LANG=C LC_ALL=C
|
|||||||
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
|
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
|
||||||
export MALLOC_PERTURB_=171 MALLOC_CHECK_=3
|
export MALLOC_PERTURB_=171 MALLOC_CHECK_=3
|
||||||
export LIBC_FATAL_STDERR_=1
|
export LIBC_FATAL_STDERR_=1
|
||||||
|
%if %{with python2}
|
||||||
|
export PYTHON=/usr/bin/python2
|
||||||
|
%else
|
||||||
|
export PYTHON=/usr/bin/python3
|
||||||
|
%endif
|
||||||
if ! make check check-swig-pl check-swig-py check-swig-rb CLEANUP=yes; then
|
if ! make check check-swig-pl check-swig-py check-swig-rb CLEANUP=yes; then
|
||||||
: Test suite failure.
|
: Test suite failure.
|
||||||
cat fails.log
|
cat fails.log
|
||||||
|
Loading…
Reference in New Issue
Block a user