forked from pool/python-pycurl
- Disable tests on arm platforms as they are very flaky there,
on multiple runs always different failures OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=37
This commit is contained in:
committed by
Git OBS Bridge
parent
acfa6380e0
commit
35703003f8
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 2 13:17:14 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Disable tests on arm platforms as they are very flaky there,
|
||||||
|
on multiple runs always different failures
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 2 13:00:02 UTC 2018 - tchvatal@suse.com
|
Fri Feb 2 13:00:02 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@@ -74,6 +74,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
|
rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifnarch %{arm} aarch64
|
||||||
# taken from "make test" because we only need to run nosetests,
|
# taken from "make test" because we only need to run nosetests,
|
||||||
# not the rest of the mess in the upstream runner
|
# not the rest of the mess in the upstream runner
|
||||||
pushd tests/fake-curl/libcurl
|
pushd tests/fake-curl/libcurl
|
||||||
@@ -90,6 +91,7 @@ if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
|
|||||||
fi
|
fi
|
||||||
%{python_expand PYTHONPATH=$(ls -d build/lib.*) \
|
%{python_expand PYTHONPATH=$(ls -d build/lib.*) \
|
||||||
nosetests-%$python_bin_suffix --with-flaky -a "$test_flags"}
|
nosetests-%$python_bin_suffix --with-flaky -a "$test_flags"}
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Reference in New Issue
Block a user