[python-path] enable testsuite
Thomas Spura
tomspur at fedoraproject.org
Wed Sep 3 14:55:16 UTC 2014
commit 78b89cd29545b2cac4e27855cce48b9470b64c0b
Author: Thomas Spura <thomas.spura at gmail.com>
Date: Wed Sep 3 16:54:00 2014 +0200
enable testsuite
python-path.spec | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/python-path.spec b/python-path.spec
index 66afce8..da7f985 100644
--- a/python-path.spec
+++ b/python-path.spec
@@ -6,7 +6,7 @@
Name: python-%{bname}
Version: 5.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A python module wrapper for os.path
License: MIT
@@ -59,14 +59,17 @@ popd
%{__python} setup.py build
-#%check
+%check
+cd build/lib
+LC_ALL=en_US.UTF-8 py.test -v
#%{__python} test_path.py
-#
-#%if 0%{?with_python3}
-#pushd %{py3dir}
-# %{__python3} test_path.py
-#popd
-#%endif
+
+%if 0%{?with_python3}
+pushd %{py3dir}
+ cd build/lib
+ LC_ALL=en_US.UTF-8 %{_bindir}/py.test-3* -v
+popd
+%endif
%install
%if 0%{?with_python3}
@@ -88,6 +91,9 @@ popd
%endif
%changelog
+* Wed Sep 3 2014 Thomas Spura <tomspur at fedoraproject.org> - 5.2-2
+- enable testsuite
+
* Wed Sep 3 2014 Thomas Spura <tomspur at fedoraproject.org> - 5.2-1
- update to 5.2
More information about the scm-commits
mailing list