[med-svn] r21775 - in trunk/packages/R/r-cran-testthat/trunk/debian: . tests

Andreas Tille tille at moszumanska.debian.org
Thu Apr 28 07:25:36 UTC 2016


Author: tille
Date: 2016-04-28 07:25:34 +0000 (Thu, 28 Apr 2016)
New Revision: 21775

Modified:
   trunk/packages/R/r-cran-testthat/trunk/debian/changelog
   trunk/packages/R/r-cran-testthat/trunk/debian/control
   trunk/packages/R/r-cran-testthat/trunk/debian/tests/run-unit-test
Log:
  * New upstream version
  * cme fix dpkg-control
  * New dependency: r-cran-r6
  * Fix test suite which failed since empty files are removed from the
    doc dir due to some debhelper / cdbs magic



Modified: trunk/packages/R/r-cran-testthat/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-testthat/trunk/debian/changelog	2016-04-28 07:03:20 UTC (rev 21774)
+++ trunk/packages/R/r-cran-testthat/trunk/debian/changelog	2016-04-28 07:25:34 UTC (rev 21775)
@@ -1,3 +1,13 @@
+r-cran-testthat (1.0.2-1) unstable; urgency=medium
+
+  * New upstream version
+  * cme fix dpkg-control
+  * New dependency: r-cran-r6
+  * Fix test suite which failed since empty files are removed from the
+    doc dir due to some debhelper / cdbs magic
+
+ -- Andreas Tille <tille at debian.org>  Thu, 28 Apr 2016 09:15:24 +0200
+
 r-cran-testthat (0.11.0-1) unstable; urgency=medium
 
   * New upstream version

Modified: trunk/packages/R/r-cran-testthat/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-testthat/trunk/debian/control	2016-04-28 07:03:20 UTC (rev 21774)
+++ trunk/packages/R/r-cran-testthat/trunk/debian/control	2016-04-28 07:25:34 UTC (rev 21775)
@@ -10,9 +10,10 @@
                r-cran-stringr,
                r-cran-evaluate,
                r-cran-crayon,
-               r-cran-praise
-Standards-Version: 3.9.6
-Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-testthat/trunk/
+               r-cran-praise,
+               r-cran-r6
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-testthat/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-testthat/trunk/
 Homepage: http://cran.r-project.org/web/packages/testthat
 
@@ -24,7 +25,8 @@
          r-cran-stringr,
          r-cran-evaluate,
          r-cran-crayon,
-         r-cran-praise
+         r-cran-praise,
+         r-cran-r6
 Suggests: r-cran-devtools
 Description: GNU R testsuite
  Testthat code. Tools to make testing fun.

Modified: trunk/packages/R/r-cran-testthat/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-testthat/trunk/debian/tests/run-unit-test	2016-04-28 07:03:20 UTC (rev 21774)
+++ trunk/packages/R/r-cran-testthat/trunk/debian/tests/run-unit-test	2016-04-28 07:25:34 UTC (rev 21775)
@@ -6,12 +6,21 @@
   ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
 fi
 cd $ADTTMP
-cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests .
+cd tests
+
+# Somehow 0 byte files are not propageted into the package :-(
+touch testthat/reporters/silent.txt
+mkdir -p testthat/test-path-present/tests/testthat
+touch testthat/test-path-present/tests/testthat/empty
+mkdir -p testthat/test-path-missing
+touch testthat/test-path-missing/empty
+
 find . -name "*.gz" -exec gunzip \{\} \;
 # Delete tests depending from devtools since this is not (yet) packaged
-if grep -qR devtools * ; then
-    rm -f `grep -lR devtools *`
-fi
+#if grep -qR devtools * ; then
+#    rm -f `grep -lR devtools *`
+#fi
 
 LC_ALL=C R --no-save < testthat.R
 # rm -fr $ADTTMP/*




More information about the debian-med-commit mailing list