[Python-modules-commits] r32356 - in packages/pyopenssl/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Tue Apr 14 19:33:36 UTC 2015


    Date: Tuesday, April 14, 2015 @ 19:33:35
  Author: morph
Revision: 32356

* debian/rules
  - run tests using "setup.py test"

Modified:
  packages/pyopenssl/trunk/debian/changelog
  packages/pyopenssl/trunk/debian/rules

Modified: packages/pyopenssl/trunk/debian/changelog
===================================================================
--- packages/pyopenssl/trunk/debian/changelog	2015-04-14 19:31:24 UTC (rev 32355)
+++ packages/pyopenssl/trunk/debian/changelog	2015-04-14 19:33:35 UTC (rev 32356)
@@ -15,8 +15,10 @@
   * debian/control
     - bump Standards-Version to 3.9.6 (no changes needed)
     - add versioned depends and b-d on python-cryptography
+  * debian/rules
+    - run tests using "setup.py test"
 
- -- Sandro Tosi <morph at debian.org>  Tue, 14 Apr 2015 20:30:56 +0100
+ -- Sandro Tosi <morph at debian.org>  Tue, 14 Apr 2015 20:31:48 +0100
 
 pyopenssl (0.14-1) unstable; urgency=medium
 

Modified: packages/pyopenssl/trunk/debian/rules
===================================================================
--- packages/pyopenssl/trunk/debian/rules	2015-04-14 19:31:24 UTC (rev 32355)
+++ packages/pyopenssl/trunk/debian/rules	2015-04-14 19:33:35 UTC (rev 32356)
@@ -22,11 +22,8 @@
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	# run tests
 	-for py in $(PYVERS); do  \
-	    for test in OpenSSL/test/test*; do \
-	        echo "running $$test for python$$py ..."; \
-		LIB=$$(python$$py -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_purelib)") ; \
-	        PYTHONPATH=$$LIB python$$py $$test; \
-	    done; \
+	    LIB=$$(python$$py -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_purelib)") ; \
+	    PYTHONPATH=$$LIB python$$py setup.py test ;\
 	done
 endif
      




More information about the Python-modules-commits mailing list