[r-cran-hypergeo] 01/01: Fix to unit tests

Jonathon Love jon at thon.cc
Thu Sep 10 09:22:24 UTC 2015


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

jonathon-guest pushed a commit to branch master
in repository r-cran-hypergeo.

commit a8820911ddfa715684835cdaba7e3c7b5179dd60
Author: Jonathon Love <jon at thon.cc>
Date:   Thu Sep 10 11:21:59 2015 +0200

    Fix to unit tests
---
 debian/README.test         | 9 +++++++++
 debian/docs                | 3 +++
 debian/tests/run-unit-test | 2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..ab9ca74
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,9 @@
+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
new file mode 100644
index 0000000..3adf0d6
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+debian/README.test
+debian/tests/run-unit-test
+tests
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 0a042a9..15bf7a2 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -7,7 +7,7 @@ if [ "$ADTTMP" = "" ] ; then
 fi
 cd $ADTTMP
 cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
-
+gunzip -r *.gz
 for runtest in `ls *.R` ; do
    LC_ALL=C R --no-save < $runtest >/dev/null
    if [ ! $? ] ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-hypergeo.git



More information about the debian-science-commits mailing list