Support running tests requiring bcftools
authorAfif Elghraoui <afif@ghraoui.name>
Sun, 6 Mar 2016 03:54:21 +0000 (19:54 -0800)
committerAfif Elghraoui <afif@ghraoui.name>
Sun, 6 Mar 2016 03:54:21 +0000 (19:54 -0800)
debian/control
debian/rules

index 8f68115bf5a64c174afbe6f495f7657f614f4870..545c4480f81ebe1e3d032006427c96b8ac841cb6 100644 (file)
@@ -19,6 +19,7 @@ Build-Depends:
        cython3 (>= 0.23),
 # Test-Depends
        samtools (>= 1.3),
+       bcftools (>= 1.3),
        python-nose,
        python3-nose,
 Standards-Version: 3.9.7
index f2c8a227e704b7b98bd0795edbb910d56a79f2ed..772305dae9449ffa67f0a7c6f4165910a7767ad7 100755 (executable)
@@ -29,6 +29,7 @@ override_dh_install: clean-tests
 
 override_dh_auto_test:
        cd tests && make -C pysam_data
+       cd tests/cbcf_data && make
        # dh_auto_test  # unfortunately this does not work out of the box
                        # see https://lists.debian.org/debian-python/2015/07/msg00064.html
                        # thus trying manually with unusual tricks