[python-py] Only run tests from the 'testing' subdir in %check.
Thomas Moschny
thm at fedoraproject.org
Mon Oct 7 08:16:14 UTC 2013
commit be441df4f6179fbb9343d8c42e414fc0fa1d2d91
Author: Thomas Moschny <thm at fedoraproject.org>
Date: Mon Oct 7 10:15:50 2013 +0200
Only run tests from the 'testing' subdir in %check.
python-py.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-py.spec b/python-py.spec
index fd64703..fbd088c 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -15,7 +15,7 @@
Name: python-py
Version: 1.4.17
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
Group: Development/Languages
License: MIT and Public Domain
@@ -126,12 +126,12 @@ rm -rf doc/_build/html/.buildinfo
%if 0%{?run_check}
PYTHONPATH=%{buildroot}%{python_sitelib} \
LC_ALL="en_US.UTF-8" \
-py.test -r s -k"-TestWCSvnCommandPath"
+py.test -r s -k"-TestWCSvnCommandPath" testing
%if 0%{?with_python3}
pushd %{py3dir}
PYTHONPATH=%{buildroot}%{python3_sitelib} \
LC_ALL="en_US.UTF-8" \
-py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath"
+py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath" testing
popd
%endif # with_python3
%endif # run_check
@@ -161,6 +161,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Oct 7 2013 Thomas Moschny <thomas.moschny at gmx.de> - 1.4.17-2
+- Only run tests from the 'testing' subdir in %%check.
+
* Fri Oct 4 2013 Thomas Moschny <thomas.moschny at gmx.de> - 1.4.17-1
- Update to 1.4.17.
More information about the scm-commits
mailing list