[Python-modules-commits] r12990 - in packages/logilab-astng/trunk/debian (changelog rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Mon May 17 18:28:01 UTC 2010
Date: Monday, May 17, 2010 @ 18:27:46
Author: morph
Revision: 12990
* debian/rules
- run tests at build time
Modified:
packages/logilab-astng/trunk/debian/changelog
packages/logilab-astng/trunk/debian/rules
Modified: packages/logilab-astng/trunk/debian/changelog
===================================================================
--- packages/logilab-astng/trunk/debian/changelog 2010-05-17 17:40:50 UTC (rev 12989)
+++ packages/logilab-astng/trunk/debian/changelog 2010-05-17 18:27:46 UTC (rev 12990)
@@ -3,8 +3,10 @@
* New upstream release
* debian/copyright
- upstream switched to LGPLv2.1+
+ * debian/rules
+ - run tests at build time
- -- Sandro Tosi <morph at debian.org> Mon, 17 May 2010 19:38:19 +0200
+ -- Sandro Tosi <morph at debian.org> Mon, 17 May 2010 20:27:15 +0200
logilab-astng (0.20.0-1) unstable; urgency=low
Modified: packages/logilab-astng/trunk/debian/rules
===================================================================
--- packages/logilab-astng/trunk/debian/rules 2010-05-17 17:40:50 UTC (rev 12989)
+++ packages/logilab-astng/trunk/debian/rules 2010-05-17 18:27:46 UTC (rev 12990)
@@ -11,12 +11,19 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+PYVERS := $(shell pyversions -s -v)
+
build: build-stamp
build-stamp:
dh_testdir
NO_SETUPTOOLS=1 python setup.py -q build
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ # use the default python version to select the script dir to run the tests
+ -PYTHONPATH=build/lib/ ./test/fulltest.sh $(PYVERS)
+endif
+
touch build-stamp
clean:
More information about the Python-modules-commits
mailing list