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

Andreas Tille tille at moszumanska.debian.org
Fri Jun 13 13:30:27 UTC 2014


Author: tille
Date: 2014-06-13 13:30:27 +0000 (Fri, 13 Jun 2014)
New Revision: 17151

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


Modified: trunk/packages/R/r-bioc-genomicranges/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-genomicranges/trunk/debian/README.test	2014-06-13 12:46:42 UTC (rev 17150)
+++ trunk/packages/R/r-bioc-genomicranges/trunk/debian/README.test	2014-06-13 13:30:27 UTC (rev 17151)
@@ -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(GenomicRanges)’ in order to confirm its integrity.
+This package can be tested by running the provided test:
+
+LC_ALL=C R --no-save <<EOT
+require("GenomicRanges") || stop("unable to load GenomicRanges package")
+GenomicRanges:::.test()
+EOT
+
+in order to confirm its integrity.

Modified: trunk/packages/R/r-bioc-genomicranges/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-genomicranges/trunk/debian/changelog	2014-06-13 12:46:42 UTC (rev 17150)
+++ trunk/packages/R/r-bioc-genomicranges/trunk/debian/changelog	2014-06-13 13:30:27 UTC (rev 17151)
@@ -1,9 +1,11 @@
-r-bioc-genomicranges (1.16.3-1) UNRELEASED; urgency=medium
+r-bioc-genomicranges (1.16.3-1) unstable; urgency=medium
 
   * New upstream version
-    TODO: Wait for GenomeInfoDb
+  * New (Build-)Depends: r-bioc-genomeinfodb
+  * cme fix dpkg-control
+  * add autopkgtest
 
- -- Andreas Tille <tille at debian.org>  Tue, 10 Jun 2014 14:14:47 +0200
+ -- Andreas Tille <tille at debian.org>  Fri, 13 Jun 2014 15:04:19 +0200
 
 r-bioc-genomicranges (1.14.3-1) unstable; urgency=low
 

Modified: trunk/packages/R/r-bioc-genomicranges/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-genomicranges/trunk/debian/control	2014-06-13 12:46:42 UTC (rev 17150)
+++ trunk/packages/R/r-bioc-genomicranges/trunk/debian/control	2014-06-13 13:30:27 UTC (rev 17151)
@@ -3,13 +3,14 @@
 Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
+Testsuite: autopkgtest
 Build-Depends: debhelper (>= 9),
                cdbs,
                r-base-dev,
                r-bioc-biocgenerics,
-               r-bioc-iranges,
+               r-bioc-genomeinfodb,
                r-bioc-xvector
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-bioc-genomicranges/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-bioc-genomicranges/trunk/
 Homepage: http://bioconductor.org/packages/release/bioc/html/GenomicRanges.html
@@ -17,10 +18,10 @@
 Package: r-bioc-genomicranges
 Architecture: any
 Depends: ${R:Depends},
-          ${shlibs:Depends},
+         ${shlibs:Depends},
          ${misc:Depends},
          r-bioc-biocgenerics,
-         r-bioc-iranges,
+         r-bioc-genomeinfodb,
          r-bioc-xvector
 Description: BioConductor representation and manipulation of genomic intervals
  The ability to efficiently store genomic annotations and alignments is

Added: trunk/packages/R/r-bioc-genomicranges/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-genomicranges/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-bioc-genomicranges/trunk/debian/tests/control	2014-06-13 13:30:27 UTC (rev 17151)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr

Added: trunk/packages/R/r-bioc-genomicranges/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-genomicranges/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-bioc-genomicranges/trunk/debian/tests/run-unit-test	2014-06-13 13:30:27 UTC (rev 17151)
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+require("GenomicRanges")
+GenomicRanges:::.test()
+EOT
+




More information about the debian-med-commit mailing list