[med-svn] [r-bioc-ebimage] 05/06: Add unit test but realise that we are quite away from testing since four packages are missing. One of them is r-cran-locfit which is not clear whether we can distribute at all
Andreas Tille
tille at debian.org
Wed Nov 8 12:49:05 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-ebimage.
commit 92a4eb328630306a6c2885b3c9e7ec48a91b3de5
Author: Andreas Tille <tille at debian.org>
Date: Thu Sep 11 11:37:03 2014 +0000
Add unit test but realise that we are quite away from testing since four packages are missing. One of them is r-cran-locfit which is not clear whether we can distribute at all
---
debian/changelog | 4 ++++
debian/control | 8 +++++++-
debian/docs | 1 +
debian/tests/control | 3 +++
debian/tests/run-unit-test | 13 +++++++++++++
5 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 84afe1b..74f2642 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
r-bioc-ebimage (4.6.0-1) UNRELEASED; urgency=low
* Initial release.
+ TODO: r-cran-tiff: http://cran.r-project.org/web/packages/tiff/index.html
+ r-cran-jpeg: http://cran.r-project.org/web/packages/jpeg/index.html
+ r-cran-png: http://cran.r-project.org/web/packages/png/index.html
+ r-cran-locfit: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-locfit/trunk/ (non-free, if distributable at all)
-- Steffen Moeller <moeller at debian.org> Thu, 21 Aug 2014 18:36:51 +0200
diff --git a/debian/control b/debian/control
index 70d6b0a..69945cc 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,13 @@ Section: gnu-r
Priority: optional
Build-Depends: debhelper (>= 9),
cdbs,
- r-base-dev (>= 3.0)
+ r-base-dev (>= 3.0),
+ r-bioc-biocgenerics,
+ r-cran-abind,
+ r-cran-tiff,
+ r-cran-jpeg,
+ r-cran-png,
+ r-cran-locfit
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-bioc-ebimage/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-bioc-ebimage/trunk/
diff --git a/debian/docs b/debian/docs
index d7b068c..f3ab9b5 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,2 +1,3 @@
debian/README.test
CHANGES
+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..41ef8c3
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+oname=EBImage
+pkg=r-bioc-`echo $oname | tr [A-Z] [a-z]`
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/${pkg}/tests/* $ADTTMP
+find . -name "*.gz" -exec gzip \{\} \;
+cat test.R | R --vanilla &>test.Rout
+diff -u test.Rout.save test.Rout
+rm -f $ADTTMP/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-bioc-ebimage.git
More information about the debian-med-commit
mailing list