[med-svn] [r-bioc-preprocesscore] 05/14: New upstream, added autopkgtest
Andreas Tille
tille at debian.org
Wed Nov 8 10:07:57 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-preprocesscore.
commit 0b293c4e22ff59b84e8faefefa493e9a70572240
Author: Andreas Tille <tille at debian.org>
Date: Thu Jun 19 13:57:57 2014 +0000
New upstream, added autopkgtest
---
debian/README.test | 7 +++++--
debian/changelog | 6 ++++--
debian/control | 4 ++--
debian/docs | 2 ++
debian/tests/control | 3 +++
debian/tests/run-unit-test | 12 ++++++++++++
6 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/debian/README.test b/debian/README.test
index bdc14c8..55a9142 100644
--- a/debian/README.test
+++ b/debian/README.test
@@ -1,5 +1,8 @@
Notes on how this package can be tested.
────────────────────────────────────────
-This package can be tested by loading it into R with the command
-‘library(preprocessCore)’ in order to confirm its integrity.
+To run the unit tests provided by the package you can do
+
+ sh run-unit-test
+
+in this directory.
diff --git a/debian/changelog b/debian/changelog
index 05b591a..6162373 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
-r-bioc-preprocesscore (1.24.0-1) UNRELEASED; urgency=low
+r-bioc-preprocesscore (1.26.1-1) unstable; urgency=low
* New upstream version
* debian/{control,copyright}: Fixed homepage
+ * cme fix dpkg-control
+ * add autookgtest
- -- Andreas Tille <tille at debian.org> Fri, 18 Oct 2013 11:12:13 +0200
+ -- Andreas Tille <tille at debian.org> Thu, 19 Jun 2014 15:50:14 +0200
r-bioc-preprocesscore (1.22.0-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 7cc2aa9..8159de8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,11 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
Uploaders: Andreas Tille <tille at debian.org>
Section: gnu-r
Priority: optional
+Testsuite: autopkgtest
Build-Depends: debhelper (>= 9),
cdbs,
r-base-dev
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-bioc-preprocesscore/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-bioc-preprocesscore/trunk/
Homepage: http://bioconductor.org/packages/release/bioc/html/preprocessCore.html
@@ -19,4 +20,3 @@ Depends: ${R:Depends},
Description: BioConductor collection of pre-processing functions
This BioConductor module contains a library of pre-processing
functions. It is imported by several other BioConductor modules.
-
diff --git a/debian/docs b/debian/docs
index 50f6656..3adf0d6 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,3 @@
debian/README.test
+debian/tests/run-unit-test
+tests
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..8e9d464
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+pkg=r-bioc-preprocesscore
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/${pkg}/tests/* $ADTTMP
+for runtest in `ls *.R` ; do
+ R --no-save < $runtest
+done
+rm -f $ADTTMP/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-bioc-preprocesscore.git
More information about the debian-med-commit
mailing list