[med-svn] r18152 - trunk/packages/R/r-cran-testthat/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Sun Sep 28 20:54:19 UTC 2014
Author: tille
Date: 2014-09-28 20:54:18 +0000 (Sun, 28 Sep 2014)
New Revision: 18152
Modified:
trunk/packages/R/r-cran-testthat/trunk/debian/README.test
trunk/packages/R/r-cran-testthat/trunk/debian/changelog
trunk/packages/R/r-cran-testthat/trunk/debian/docs
trunk/packages/R/r-cran-testthat/trunk/debian/rules
Log:
Polishing and upload (without testing devtools)
Modified: trunk/packages/R/r-cran-testthat/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-testthat/trunk/debian/README.test 2014-09-28 20:53:47 UTC (rev 18151)
+++ trunk/packages/R/r-cran-testthat/trunk/debian/README.test 2014-09-28 20:54:18 UTC (rev 18152)
@@ -1,12 +1,10 @@
Notes on how this package can be tested.
────────────────────────────────────────
-This package can be tested by running the provided test:
+To run the unit tests provided by the package you can do
-LC_ALL=C R --no-save <<EOT
-library(testthat)
-test_package("testthat")
-EOT
+ sh run-unit-test
-in order to confirm its integrity.
+in this directory.
+
Modified: trunk/packages/R/r-cran-testthat/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-testthat/trunk/debian/changelog 2014-09-28 20:53:47 UTC (rev 18151)
+++ trunk/packages/R/r-cran-testthat/trunk/debian/changelog 2014-09-28 20:54:18 UTC (rev 18152)
@@ -1,8 +1,9 @@
-r-cran-testthat (0.9-1) UNRELEASED; urgency=medium
+r-cran-testthat (0.9-1) unstable; urgency=medium
* New upstream version
* New upstream version now Architecture: any
- * TODO: Add autopkgtest requires r-cran-devtools which is not yet packaged
+ * Add autopkgtest but excluded r-cran-devtools which is not yet packaged
+ since it needs four further (Build-)Depends
-- Andreas Tille <tille at debian.org> Sat, 27 Sep 2014 19:24:12 +0200
Modified: trunk/packages/R/r-cran-testthat/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-testthat/trunk/debian/docs 2014-09-28 20:53:47 UTC (rev 18151)
+++ trunk/packages/R/r-cran-testthat/trunk/debian/docs 2014-09-28 20:54:18 UTC (rev 18152)
@@ -1 +1,3 @@
+tests
debian/README.test
+debian/tests/run-unit-test
Modified: trunk/packages/R/r-cran-testthat/trunk/debian/rules
===================================================================
--- trunk/packages/R/r-cran-testthat/trunk/debian/rules 2014-09-28 20:53:47 UTC (rev 18151)
+++ trunk/packages/R/r-cran-testthat/trunk/debian/rules 2014-09-28 20:54:18 UTC (rev 18152)
@@ -4,3 +4,12 @@
install/$(package)::
rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
+
+# if I would only know how to hook in after dh_installdocs - forget this magic
+# cdbs thingy and remove the file rather in the test sccript ...
+ # Delete tests depending from devtools since this is not (yet) packaged
+# cd debian/$(package)/usr/share/doc/$(package)/tests/ ; \
+# if grep -qR devtools * ; then \
+# rm -f `grep -lR devtools *` ; \
+# fi
+
More information about the debian-med-commit
mailing list