[med-svn] r17994 - in trunk/packages/R/r-bioc-ebimage/trunk/debian: . tests

Andreas Tille tille at moszumanska.debian.org
Thu Sep 11 11:37:04 UTC 2014


Author: tille
Date: 2014-09-11 11:37:03 +0000 (Thu, 11 Sep 2014)
New Revision: 17994

Added:
   trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/
   trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/control
   trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-bioc-ebimage/trunk/debian/changelog
   trunk/packages/R/r-bioc-ebimage/trunk/debian/control
   trunk/packages/R/r-bioc-ebimage/trunk/debian/docs
Log:
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


Modified: trunk/packages/R/r-bioc-ebimage/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-ebimage/trunk/debian/changelog	2014-09-11 10:29:08 UTC (rev 17993)
+++ trunk/packages/R/r-bioc-ebimage/trunk/debian/changelog	2014-09-11 11:37:03 UTC (rev 17994)
@@ -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

Modified: trunk/packages/R/r-bioc-ebimage/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-ebimage/trunk/debian/control	2014-09-11 10:29:08 UTC (rev 17993)
+++ trunk/packages/R/r-bioc-ebimage/trunk/debian/control	2014-09-11 11:37:03 UTC (rev 17994)
@@ -6,7 +6,13 @@
 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/

Modified: trunk/packages/R/r-bioc-ebimage/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-bioc-ebimage/trunk/debian/docs	2014-09-11 10:29:08 UTC (rev 17993)
+++ trunk/packages/R/r-bioc-ebimage/trunk/debian/docs	2014-09-11 11:37:03 UTC (rev 17994)
@@ -1,2 +1,3 @@
 debian/README.test
 CHANGES
+tests

Added: trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/control	2014-09-11 11:37:03 UTC (rev 17994)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr

Added: trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-bioc-ebimage/trunk/debian/tests/run-unit-test	2014-09-11 11:37:03 UTC (rev 17994)
@@ -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/*




More information about the debian-med-commit mailing list