Remove ex1.bam hack since it is apparently being created without it
authorAfif Elghraoui <afif@ghraoui.name>
Fri, 24 Jul 2015 07:34:29 +0000 (00:34 -0700)
committerAfif Elghraoui <afif@ghraoui.name>
Fri, 24 Jul 2015 07:34:29 +0000 (00:34 -0700)
debian/rules

index 0a7ac112feda574c88da5faf9e57022f86548e92..9ea8d47e268d648dcb33795516361308d874f4ee 100755 (executable)
@@ -23,8 +23,6 @@ override_dh_auto_clean: clean-tests
        dh_auto_clean
 
 override_dh_auto_test:
-       # Tests are stumbling upon missing ex1.bam file ...
-       ln -s pysam_data/ex1.bam tests
        cd tests && make -C pysam_data
        # dh_auto_test  # unfortunately this does not work out of the box
                        # see https://lists.debian.org/debian-python/2015/07/msg00064.html
@@ -37,8 +35,6 @@ override_dh_auto_test:
        PYBUILD_SYSTEM=custom \
        PYBUILD_TEST_ARGS="cd tests && if [ {version} = 2.7 ] ; then nosetests -s ; else nosetests3 -s -v ; fi" dh_auto_test || \
                echo "Ignoring test failures"
-       # remove ex1.bam that was created above
-       rm -f tests/ex1.bam
        # The so-symlinks above need to be removed - otherwise dh_python3 will fail
        find .pybuild -type l -name "*.so" -delete