[med-svn] [r-bioc-annotationhub] 02/11: Add autopkgtest
Andreas Tille
tille at debian.org
Fri Sep 22 11:40:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-bioc-annotationhub.
commit e1fcf53aff4b04562700c3bdfd19c88f3da479aa
Author: Andreas Tille <tille at debian.org>
Date: Mon May 23 19:05:59 2016 +0000
Add autopkgtest
---
debian/README.test | 10 ++++++++++
debian/changelog | 2 --
debian/docs | 1 +
debian/tests/control | 3 +++
debian/tests/run-unit-test | 5 +++++
5 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..18f7329
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,10 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+LC_ALL=C R --no-save <<EOT
+BiocGenerics:::testPackage("AnnotationHub")
+EOT
+
+in order to confirm its integrity.
diff --git a/debian/changelog b/debian/changelog
index ac9f480..4f8fc00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,5 @@
r-bioc-annotationhub (2.4.0-1) UNRELEASED; urgency=low
* Initial release (closes: #???)
- TODO:
- svn://anonscm.debian.org/debian-med/trunk/packages/R/r-bioc-interactivedisplaybase/trunk/
-- Andreas Tille <tille at debian.org> Wed, 11 May 2016 15:29:00 +0200
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..50f6656
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+debian/README.test
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..25377fc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..349f904
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+BiocGenerics:::testPackage("AnnotationHub")
+EOT
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-bioc-annotationhub.git
More information about the debian-med-commit
mailing list