Add nosetest build time testing (but zero tests executed - ask at debian-python list)
authorAndreas Tille <tille@debian.org>
Wed, 15 Jul 2015 12:09:48 +0000 (14:09 +0200)
committerAndreas Tille <tille@debian.org>
Wed, 15 Jul 2015 12:09:48 +0000 (14:09 +0200)
debian/control
debian/rules

index 0bca2d497739b0ec4144288ae7ac86dc0c36c275..6c8069a1d940a1acf4cab2930db00e9acb26d57b 100644 (file)
@@ -12,9 +12,11 @@ Build-Depends: debhelper (>= 9),
               python-all-dev,
               python-setuptools,
               cython,
+              python-nose,
               python3-all-dev,
               python3-setuptools,
-              cython3
+              cython3,
+              python3-nose
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-med/python-pysam.git
 Vcs-Git: git://anonscm.debian.org/debian-med/python-pysam.git
index 5f45fc36ed80b31d9ae67d5bf6bb930ffa9cc118..2e5d2793c6137bd6ff9b642161e3f37a19b6a5cd 100755 (executable)
@@ -18,5 +18,8 @@ override_dh_auto_clean:
        dh_auto_clean
        $(MAKE) -C tests/pysam_data clean
 
+override_dh_auto_test:
+       dh_auto_test -- -s custom --test-args='{interpreter} setup.py nosetests'
+
 get-orig-source:
        uscan --verbose --force-download --repack --compression xz