[Python-apps-commits] r4876 - in packages/ibid/trunk/debian (changelog rules)

stefanor-guest at users.alioth.debian.org stefanor-guest at users.alioth.debian.org
Mon Mar 1 14:18:11 UTC 2010


    Date: Monday, March 1, 2010 @ 14:17:58
  Author: stefanor-guest
Revision: 4876

Bump version. Run test suite with all python interpretors. respect nocheck

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

Modified: packages/ibid/trunk/debian/changelog
===================================================================
--- packages/ibid/trunk/debian/changelog	2010-03-01 13:21:39 UTC (rev 4875)
+++ packages/ibid/trunk/debian/changelog	2010-03-01 14:17:58 UTC (rev 4876)
@@ -1,10 +1,12 @@
-ibid (0+bzr900+dfsg-1) UNRELEASED; urgency=low
+ibid (0+bzr905+dfsg-1) UNRELEASED; urgency=low
 
   * New upstream revision.
   * Update separate-data patch. Upstream incorporated fixes to make this patch
     much simpler and less invasive.
+  * Run test suite with all python interpretors.
+  * Respect nocheck in DEB_BUILD_OPTIONS.
 
- -- Stefano Rivera <stefano at rivera.za.net>  Wed, 24 Feb 2010 15:25:29 +0200
+ -- Stefano Rivera <stefano at rivera.za.net>  Mon, 01 Mar 2010 16:16:47 +0200
 
 ibid (0+bzr881+dfsg-1) experimental; urgency=low
 

Modified: packages/ibid/trunk/debian/rules
===================================================================
--- packages/ibid/trunk/debian/rules	2010-03-01 13:21:39 UTC (rev 4875)
+++ packages/ibid/trunk/debian/rules	2010-03-01 14:17:58 UTC (rev 4876)
@@ -5,8 +5,15 @@
 %:
 	dh --with python-central $@
 
+TRIAL=$(shell which trial)
+
 override_dh_auto_test:
-	PYTHONPATH=. trial --reporter=text ibid
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	for ver in `pyversions -vr`; do \
+		PYTHONPATH=. python$$ver $(TRIAL) --reporter=text ibid; \
+		PYTHONPATH=. python$$ver-dbg $(TRIAL) --reporter=text ibid; \
+	done
+endif
 
 override_dh_auto_build:
 	dh_auto_build




More information about the Python-apps-commits mailing list