forked from pool/python-pycurl
- Start excluding flaky tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=41
This commit is contained in:
committed by
Git OBS Bridge
parent
7ebe19c858
commit
53fa37b590
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 11:15:17 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Start excluding flaky tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 10 11:06:40 UTC 2018 - mcepl@suse.com
|
||||
|
||||
|
@@ -77,7 +77,6 @@ rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
|
||||
|
||||
%check
|
||||
export PYCURL_SSL_LIBRARY=openssl
|
||||
%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
|
||||
@@ -92,9 +91,9 @@ fi
|
||||
if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
|
||||
test_flags="$test_flags,\!ssh"
|
||||
fi
|
||||
%{python_expand PYTHONPATH=$(ls -d build/lib.*) \
|
||||
nosetests-%$python_bin_suffix --with-flaky -a "$test_flags"}
|
||||
%endif
|
||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} \
|
||||
nosetests-%$python_bin_suffix -v --with-flaky -a "$test_flags" -e test_writefunction_collection
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING-LGPL COPYING-MIT
|
||||
|
Reference in New Issue
Block a user