From 53fa37b59073bbc3b131c17dab42105abba5b36e023333113eca7d86e3b167f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 9 Aug 2018 11:19:05 +0000 Subject: [PATCH] - Start excluding flaky tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=41 --- python-pycurl.changes | 5 +++++ python-pycurl.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) 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