[med-svn] [r-cran-registry] 04/04: Install test files into binary package as example, use common name for all of Debian Med's tests of R packages

Andreas Tille tille at debian.org
Sat May 28 20:43:02 UTC 2016


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

tille pushed a commit to branch master
in repository r-cran-registry.

commit f3b2d2d1fe26a46c7c0b048ad0f00f30486dd85d
Author: Andreas Tille <tille at debian.org>
Date:   Sat May 28 22:41:57 2016 +0200

    Install test files into binary package as example, use common name for all of Debian Med's tests of R packages
---
 debian/README.test                       | 8 ++++++++
 debian/docs                              | 3 +++
 debian/tests/control                     | 2 +-
 debian/tests/{registry => run-unit-test} | 0
 4 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..ef34ccc
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+To run the unit tests provided by the package you can do
+
+   sh run-unit-test
+
+in this directory.
diff --git a/debian/docs b/debian/docs
index e69de29..960011c 100644
--- a/debian/docs
+++ 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 f91026f..d2aa55a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
-Tests: registry
+Tests: run-unit-test
 Depends: @
 Restrictions: allow-stderr
diff --git a/debian/tests/registry b/debian/tests/run-unit-test
similarity index 100%
rename from debian/tests/registry
rename to debian/tests/run-unit-test

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



More information about the debian-med-commit mailing list