summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-02-13 17:28:19 +0100
committerJulian Andres Klode <jak@debian.org>2010-02-13 17:28:19 +0100
commit930f6a2899b0b410777397fb206a8eba8c99100c (patch)
treef4b8a14fc619b2e6ea297385e289b2549f6f21a4 /debian
parent24971a75407f0b28f2cb4e890545a0f5825af87d (diff)
downloadpython-apt-930f6a2899b0b410777397fb206a8eba8c99100c.tar.gz
* debian/rules:
- Run tests during build time.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules5
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index cfdc5301..4b93dddc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ python-apt (0.7.93.2) UNRELEASED; urgency=low
* data/templates/*.in: Switch MirrorsFile to relative filenames.
- setup.py: Copy the mirror lists to the build directory
- aptsources/distinfo.py: Support relative filenames for MirrorsFile.
+ * debian/rules:
+ - Run tests during build time.
-- Julian Andres Klode <jak@debian.org> Sun, 07 Feb 2010 19:58:40 +0100
diff --git a/debian/rules b/debian/rules
index 1a45a710..24d0952e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,3 +19,8 @@ override_dh_strip:
override_dh_compress:
dh_compress -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv
+
+override_dh_auto_test:
+ set -e; for python in $(shell pyversions -r); do \
+ $$python tests/test_all.py -q; \
+ done;