Fix autopkgtests
authorAfif Elghraoui <afif@debian.org>
Mon, 20 Jun 2016 01:41:50 +0000 (18:41 -0700)
committerAfif Elghraoui <afif@debian.org>
Mon, 20 Jun 2016 01:41:50 +0000 (18:41 -0700)
They were missing dependencies (needed for the compile_test).
The home directory needed to be moved in order to avoid a "permission denied"
error..

debian/tests/control

index 4649fb375b9a5472c3ee2fa623c860cbf6349e7f..0525d3671e9f27885607a9e410bbc9815fbd46ca 100644 (file)
@@ -1,8 +1,10 @@
-Test-Command: cd tests && make -C pysam_data && make -C cbcf_data && nosetests --nocapture -v
+Test-Command: export HOME=$ADTTMP; cd tests && make -C pysam_data && make -C cbcf_data && nosetests --nocapture -v
 Depends:
        build-essential,
        cython,
        python-dev,
+       libhts-dev,
+       zlib1g-dev,
        python-pysam,
        python-nose,
        tabix,
@@ -10,11 +12,13 @@ Depends:
        bcftools
 Restrictions: allow-stderr, rw-build-tree
 
-Test-Command: cd tests && make -C pysam_data && make -C cbcf_data && nosetests3 --nocapture -v
+Test-Command: export HOME=$ADTTMP; cd tests && make -C pysam_data && make -C cbcf_data && nosetests3 --nocapture -v
 Depends:
        build-essential,
        cython3,
        python3-dev,
+       libhts-dev,
+       zlib1g-dev,
        python3-pysam,
        python3-nose,
        tabix,