[med-svn] [bcftools] 01/03: Update debian/tests for new build system

Afif Elghraoui afif at moszumanska.debian.org
Tue Aug 8 16:45:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository bcftools.

commit b7286cf5b67dbaf3bc090437452ffbcfc65e9bc5
Author: Afif Elghraoui <afif at debian.org>
Date:   Tue Aug 8 11:33:51 2017 -0400

    Update debian/tests for new build system
    
    Only run the Perl script for tests.
---
 debian/tests/control  |  9 ++++++---
 debian/tests/runtests | 15 ---------------
 2 files changed, 6 insertions(+), 18 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 55cc0ae..4a737e9 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,10 +1,13 @@
-Tests: runtests
+Test-Command:
+	ln -s /usr/bin/bcftools bcftools &&
+	./test/test.pl
+	--plugins
+	--exec bgzip=/usr/bin/bgzip
+	--exec tabix=/usr/bin/tabix
 Depends:
 	@,
 	tabix,
 	perl,
-	build-essential,
-	libhts-dev,
 Restrictions:
 	allow-stderr,
 	rw-build-tree,
diff --git a/debian/tests/runtests b/debian/tests/runtests
deleted file mode 100755
index e63da87..0000000
--- a/debian/tests/runtests
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/make -f
-
-export HTSDIR=/usr/include
-
-BGZIP=/usr/bin/bgzip
-TABIX=/usr/bin/tabix
-
-test: test/test-rbuf bcftools
-	./test/test.pl --plugins --exec bgzip=$(BGZIP) --exec tabix=$(TABIX)
-
-bcftools:
-	ln -s /usr/bin/bcftools $@
-
-test/test-rbuf:
-	$(MAKE) $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bcftools.git



More information about the debian-med-commit mailing list