[med-svn] [bcftools] 01/01: Configure autopkgtest
Afif Elghraoui
afif-guest at moszumanska.debian.org
Fri Nov 6 08:43:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository bcftools.
commit cf1abb2fb8dcb9cd925430ceaa663ba718abfb4d
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Fri Nov 6 00:43:03 2015 -0800
Configure autopkgtest
---
debian/tests/control | 3 +++
debian/tests/runtests | 22 ++++++++++++++++++++++
2 files changed, 25 insertions(+)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..48d796f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: runtests
+Depends: @, tabix, perl
+Restrictions: allow-stderr rw-build-tree
diff --git a/debian/tests/runtests b/debian/tests/runtests
new file mode 100755
index 0000000..363c0af
--- /dev/null
+++ b/debian/tests/runtests
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+export HTSDIR=/usr/include
+
+BGZIP=/usr/bin/bgzip
+TABIX=/usr/bin/tabix
+
+all: test
+
+test: test/test-rbuf bcftools
+ ./test/test.pl --exec bgzip=$(BGZIP) --exec tabix=$(TABIX)
+
+# This isn't currently set to run; The upstream build system apparently
+# doesn't install the included plugins
+test-plugins: 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