[med-svn] [nanopolish] 01/04: Configure autopkgtest

Afif Elghraoui afif-guest at moszumanska.debian.org
Thu Jan 21 03:54:45 UTC 2016


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

afif-guest pushed a commit to branch master
in repository nanopolish.

commit 9962ae05e7c74e63040ba80efe9cf6d39412605b
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Wed Jan 20 18:37:07 2016 -0800

    Configure autopkgtest
    
    This is probably suboptimal because it prevents compression
    of the test data file in the package.
---
 debian/links         | 1 +
 debian/rules         | 6 ++++++
 debian/tests/control | 1 +
 3 files changed, 8 insertions(+)

diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..042c150
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+/usr/share/doc/nanopolish/examples/data	/usr/lib/nanopolish/test/data
diff --git a/debian/rules b/debian/rules
index c3047f6..09e07a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,3 +12,9 @@ export DEB_LDFLAGS_MAINT_APPEND = -L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
 override_dh_auto_clean:
 	dh_auto_clean
 	$(RM) .depend
+
+# See if tests will still run if the fast5 file gets compressed.
+# Otherwise, it's probably better to have a longer test script to
+# unpack the file and use it for running the tests.
+override_dh_compress:
+	dh_compress --exclude=.fast5
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..50ee684
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Test-Command: cd /usr/lib/nanopolish && ./nanopolish_test

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



More information about the debian-med-commit mailing list