[med-svn] r18294 - in trunk/packages/R/r-bioc-biocinstaller/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Wed Oct 15 22:08:35 UTC 2014
Author: tille
Date: 2014-10-15 22:08:35 +0000 (Wed, 15 Oct 2014)
New Revision: 18294
Added:
trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/
trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/control
trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-bioc-biocinstaller/trunk/debian/README.test
trunk/packages/R/r-bioc-biocinstaller/trunk/debian/changelog
Log:
Add autopkgtest and upload to experimental
Modified: trunk/packages/R/r-bioc-biocinstaller/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-biocinstaller/trunk/debian/README.test 2014-10-15 22:02:56 UTC (rev 18293)
+++ trunk/packages/R/r-bioc-biocinstaller/trunk/debian/README.test 2014-10-15 22:08:35 UTC (rev 18294)
@@ -1,5 +1,11 @@
Notes on how this package can be tested.
────────────────────────────────────────
-This package can be tested by loading it into R with the command
-‘library(BiocInstaller)’ in order to confirm its integrity.
+This package can be tested by running the provided test:
+
+LC_ALL=C R --no-save <<EOT
+require("BiocGenerics") || stop("unable to load BiocGenerics package")
+BiocGenerics:::testPackage("BiocInstaller")
+EOT
+
+in order to confirm its integrity.
Modified: trunk/packages/R/r-bioc-biocinstaller/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-biocinstaller/trunk/debian/changelog 2014-10-15 22:02:56 UTC (rev 18293)
+++ trunk/packages/R/r-bioc-biocinstaller/trunk/debian/changelog 2014-10-15 22:08:35 UTC (rev 18294)
@@ -2,6 +2,7 @@
* New upstream version
* cme fix dpkg-control
+ * add autopkgtest
-- Andreas Tille <tille at debian.org> Thu, 16 Oct 2014 00:00:41 +0200
Added: trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/control 2014-10-15 22:08:35 UTC (rev 18294)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
Added: trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-bioc-biocinstaller/trunk/debian/tests/run-unit-test 2014-10-15 22:08:35 UTC (rev 18294)
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+require("BiocGenerics")
+BiocGenerics:::testPackage("BiocInstaller")
+EOT
+
More information about the debian-med-commit
mailing list