diff --git a/python-pycurl.changes b/python-pycurl.changes index cfb9bb7..8386353 100644 --- a/python-pycurl.changes +++ b/python-pycurl.changes @@ -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 diff --git a/python-pycurl.spec b/python-pycurl.spec index 050989b..152215b 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -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