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

Andreas Tille tille at moszumanska.debian.org
Tue Jun 10 12:51:06 UTC 2014


Author: tille
Date: 2014-06-10 12:51:06 +0000 (Tue, 10 Jun 2014)
New Revision: 17106

Added:
   trunk/packages/R/r-bioc-graph/trunk/debian/tests/
   trunk/packages/R/r-bioc-graph/trunk/debian/tests/control
   trunk/packages/R/r-bioc-graph/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-bioc-graph/trunk/debian/README.test
   trunk/packages/R/r-bioc-graph/trunk/debian/changelog
   trunk/packages/R/r-bioc-graph/trunk/debian/control
Log:
New upstream version;  Add autopkgtest


Modified: trunk/packages/R/r-bioc-graph/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-graph/trunk/debian/README.test	2014-06-10 12:22:08 UTC (rev 17105)
+++ trunk/packages/R/r-bioc-graph/trunk/debian/README.test	2014-06-10 12:51:06 UTC (rev 17106)
@@ -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(graph)’ 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("graph", pattern="_test.R")
+EOT
+
+in order to confirm its integrity.

Modified: trunk/packages/R/r-bioc-graph/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-graph/trunk/debian/changelog	2014-06-10 12:22:08 UTC (rev 17105)
+++ trunk/packages/R/r-bioc-graph/trunk/debian/changelog	2014-06-10 12:51:06 UTC (rev 17106)
@@ -1,9 +1,11 @@
-r-bioc-graph (1.40.0-1) UNRELEASED; urgency=low
+r-bioc-graph (1.42.0-1) unstable; urgency=low
 
   * New upstream version
   * debian/{control,copyright}: Fixed homepage
+  * Add autopkgtest
+  * Recommends: r-cran-xml (since it is used in unit test)
 
- -- Andreas Tille <tille at debian.org>  Fri, 18 Oct 2013 11:04:11 +0200
+ -- Andreas Tille <tille at debian.org>  Tue, 10 Jun 2014 14:23:38 +0200
 
 r-bioc-graph (1.38.3-1) unstable; urgency=low
 

Modified: trunk/packages/R/r-bioc-graph/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-graph/trunk/debian/control	2014-06-10 12:22:08 UTC (rev 17105)
+++ trunk/packages/R/r-bioc-graph/trunk/debian/control	2014-06-10 12:51:06 UTC (rev 17106)
@@ -2,12 +2,13 @@
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
+XS-Testsuite: autopkgtest
 Priority: optional
 Build-Depends: debhelper (>= 9),
                cdbs,
                r-base-dev,
                r-bioc-biocgenerics
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-bioc-graph/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-bioc-graph/trunk/
 Homepage: http://bioconductor.org/packages/release/bioc/html/graph.html
@@ -16,10 +17,10 @@
 Architecture: any
 Depends: ${R:Depends},
          ${misc:Depends},
-          ${shlibs:Depends},
-         r-bioc-biocgenerics
+         ${shlibs:Depends},
+         r-bioc-biocgenerics,
+         r-cran-xml
 Description: handle graph data structures for BioConductor
  This BioConductor module implements some simple graph handling
  capabilities.  These are for instance used in hypergraph module
  which in turn is used by several other BioConductor packages.
-

Added: trunk/packages/R/r-bioc-graph/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-graph/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-bioc-graph/trunk/debian/tests/control	2014-06-10 12:51:06 UTC (rev 17106)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit, r-cran-xml
+Restrictions: allow-stderr

Added: trunk/packages/R/r-bioc-graph/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-graph/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-bioc-graph/trunk/debian/tests/run-unit-test	2014-06-10 12:51:06 UTC (rev 17106)
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+BiocGenerics:::testPackage("graph", pattern="_test.R")
+EOT
+




More information about the debian-med-commit mailing list