[med-svn] [r-cran-dbitest] 03/07: Upload to new
Andreas Tille
tille at debian.org
Sun Oct 1 21:31: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-cran-dbitest.
commit 1eb271cf567d58a7b0d881e51b87f72c63f4e8ab
Author: Andreas Tille <tille at debian.org>
Date: Sun Dec 4 19:11:59 2016 +0000
Upload to new
---
debian/README.test | 8 ++++++++
debian/changelog | 7 +++----
debian/control | 6 +++---
debian/docs | 3 +++
debian/tests/control | 4 +++-
debian/tests/run-unit-test | 13 +++++++++++++
6 files changed, 33 insertions(+), 8 deletions(-)
diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..90657cf
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+ sh run-unit-test
+
+in order to confirm its integrity.
diff --git a/debian/changelog b/debian/changelog
index 2fcb0b9..a8f1d96 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,5 @@
-r-cran-dbitest (1.4-1) UNRELEASED; urgency=medium
+r-cran-dbitest (1.4-1) unstable; urgency=medium
- * Initial release (closes: #xxxxxx)
- TODO: r-cran-withr
+ * Initial release (closes: #846967)
- -- Andreas Tille <tille at debian.org> Sun, 04 Dec 2016 18:17:34 +0100
+ -- Andreas Tille <tille at debian.org> Sun, 04 Dec 2016 20:08:23 +0100
diff --git a/debian/control b/debian/control
index ea0816c..c4052fd 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,6 @@ Depends: ${R:Depends},
${misc:Depends}
Recommends: ${R:Recommends}
Suggests: ${R:Suggests}
-Description: Testing 'DBI' Back Ends
- A helper that tests 'DBI' back ends for conformity
- to the interface.
+Description: GNU R testing 'DBI' back ends
+ This package provides a helper that tests 'DBI' back ends for conformity
+ to the GNU R interface.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..960011c
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+tests
+debian/README.test
+debian/tests/run-unit-test
diff --git a/debian/tests/control b/debian/tests/control
index 8b13789..b044b0c 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1 +1,3 @@
-
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..d8d551f
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+oname=DBItest
+pkg=r-cran-`echo $oname | tr '[A-Z]' '[a-z]'`
+
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+ trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+LC_ALL=C R --no-save < testthat.R
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-dbitest.git
More information about the debian-med-commit
mailing list