From: Afif Elghraoui Date: Thu, 23 Jul 2015 06:20:29 +0000 (-0700) Subject: Merge branch 'separate-tests-package' X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~289 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aed6cc7cf50222c73b22791ca5e77c6dc814afa7;p=python-pysam.git Merge branch 'separate-tests-package' Conflicts: debian/tests/control Restore the separate tests package, but don't use it for autopkgtest yet. --- aed6cc7cf50222c73b22791ca5e77c6dc814afa7 diff --cc debian/rules index 05e4a0e,a6b2252..da5b0e8 --- a/debian/rules +++ b/debian/rules @@@ -15,8 -13,17 +16,13 @@@ export PYBUILD_TEST_ARGS={dir}/test %: LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild - # Testing and building the test data are handled by autopkgtest, - # but debian/rules must be able to clean up after it. + override_dh_auto_build: + dh_auto_build + $(MAKE) -C tests/pysam_data + + override_dh_install: + dh_install -Xtest.gtf.gz + -override_dh_auto_test: -#nothing to test until pysam is installed. -#test package is provided for both Python versions - override_dh_auto_clean: dh_auto_clean $(MAKE) -C tests/pysam_data clean