[pytest] Only run tests from the 'testing' subdir in %check.
Thomas Moschny
thm at fedoraproject.org
Mon Oct 7 08:50:44 UTC 2013
commit f742f49071c3b69cc5526d21278bf7af22bff0ba
Author: Thomas Moschny <thm at fedoraproject.org>
Date: Mon Oct 7 10:31:33 2013 +0200
Only run tests from the 'testing' subdir in %check.
pytest.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/pytest.spec b/pytest.spec
index 1f06a6d..4ec3b3a 100644
--- a/pytest.spec
+++ b/pytest.spec
@@ -9,7 +9,7 @@
Name: pytest
Version: 2.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Simple powerful testing with Python
Group: Development/Languages
@@ -138,12 +138,12 @@ rm -rf %{buildroot}
%check
PATH=%{buildroot}%{_bindir}:${PATH} \
PYTHONPATH=%{buildroot}%{python_sitelib} \
- %{buildroot}%{_bindir}/py.test -r s
+ %{buildroot}%{_bindir}/py.test -r s testing
%if 0%{?with_python3}
pushd %{py3dir}
PATH=%{buildroot}%{_bindir}:${PATH} \
PYTHONPATH=%{buildroot}%{python3_sitelib} \
- %{buildroot}%{_bindir}/py.test-3.* -r s
+ %{buildroot}%{_bindir}/py.test-3.* -r s testing
popd
%endif # with_python3
@@ -168,6 +168,9 @@ popd
%changelog
+* Mon Oct 7 2013 Thomas Moschny <thomas.moschny at gmx.de> - 2.4.2-2
+- Only run tests from the 'testing' subdir in %%check.
+
* Sat Oct 5 2013 Thomas Moschny <thomas.moschny at gmx.de> - 2.4.2-1
- Update to 2.4.2.
- Add buildroot's bindir to PATH while running the testsuite.
More information about the scm-commits
mailing list