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
@@ -74,6 +74,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
|
||||
|
||||
%check
|
||||
%ifnarch %{arm} aarch64
|
||||
# taken from "make test" because we only need to run nosetests,
|
||||
# not the rest of the mess in the upstream runner
|
||||
pushd tests/fake-curl/libcurl
|
||||
@@ -90,6 +91,7 @@ if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
|
||||
fi
|
||||
%{python_expand PYTHONPATH=$(ls -d build/lib.*) \
|
||||
nosetests-%$python_bin_suffix --with-flaky -a "$test_flags"}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user