Author: tille
Date: 2014-06-08 16:24:11 +0000 (Sun, 08 Jun 2014)
New Revision: 17081

Added:
   trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/
   trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/control
   trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/README.test
   trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/control
Log:
Add autopkgtest


Modified: trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/README.test       
2014-06-08 16:15:08 UTC (rev 17080)
+++ trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/README.test       
2014-06-08 16:24:11 UTC (rev 17081)
@@ -1,5 +1,10 @@
 Notes on how this package can be tested.
 ────────────────────────────────────────
 
-This package can be tested by loading it into R with the command
-‘library(GenomeInfoDb)’ in order to confirm its integrity.
+This package can be tested by running the provided test:
+
+LC_ALL=C R --no-save <<EOT
+BiocGenerics:::testPackage("GenomeInfoDb")
+EOT
+
+in order to confirm its integrity.

Modified: trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/control   2014-06-08 
16:15:08 UTC (rev 17080)
+++ trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/control   2014-06-08 
16:24:11 UTC (rev 17081)
@@ -3,6 +3,7 @@
 Uploaders: Andreas Tille <[email protected]>
 Section: gnu-r
 Priority: optional
+XS-Testsuite: autopkgtest
 Build-Depends: debhelper (>= 9),
                cdbs,
                r-base-dev

Added: trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/control             
                (rev 0)
+++ trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/control     
2014-06-08 16:24:11 UTC (rev 17081)
@@ -0,0 +1 @@
+Tests: run-unit-test

Added: trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/run-unit-test       
                        (rev 0)
+++ trunk/packages/R/r-bioc-genomeinfodb/trunk/debian/tests/run-unit-test       
2014-06-08 16:24:11 UTC (rev 17081)
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+BiocGenerics:::testPackage("GenomeInfoDb")
+EOT
+


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to