[med-svn] r15406 - in trunk/packages/R/r-bioc-iranges/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Tue Dec 3 10:48:16 UTC 2013
Author: tille
Date: 2013-12-03 10:48:16 +0000 (Tue, 03 Dec 2013)
New Revision: 15406
Added:
trunk/packages/R/r-bioc-iranges/trunk/debian/tests/
trunk/packages/R/r-bioc-iranges/trunk/debian/tests/control
trunk/packages/R/r-bioc-iranges/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-bioc-iranges/trunk/debian/README.test
trunk/packages/R/r-bioc-iranges/trunk/debian/changelog
trunk/packages/R/r-bioc-iranges/trunk/debian/control
Log:
New upstream version including better testing
Modified: trunk/packages/R/r-bioc-iranges/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-iranges/trunk/debian/README.test 2013-12-03 07:42:33 UTC (rev 15405)
+++ trunk/packages/R/r-bioc-iranges/trunk/debian/README.test 2013-12-03 10:48:16 UTC (rev 15406)
@@ -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(IRanges)’ in order to confirm its integrity.
+This package can be tested by running the provided test:
+
+LC_ALL=C R --no-save <<EOT
+require("IRanges") || stop("unable to load IRanges package")
+IRanges:::.test()
+EOT
+
+in order to confirm its integrity.
Modified: trunk/packages/R/r-bioc-iranges/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-iranges/trunk/debian/changelog 2013-12-03 07:42:33 UTC (rev 15405)
+++ trunk/packages/R/r-bioc-iranges/trunk/debian/changelog 2013-12-03 10:48:16 UTC (rev 15406)
@@ -1,3 +1,11 @@
+r-bioc-iranges (1.20.6-1) unstable; urgency=low
+
+ * New upstream version
+ * debian/README.test: More detailed testing suggested
+ * debian/tests: Add unit test
+
+ -- Andreas Tille <tille at debian.org> Tue, 03 Dec 2013 11:26:23 +0100
+
r-bioc-iranges (1.20.4-1) unstable; urgency=low
* New upstream version
Modified: trunk/packages/R/r-bioc-iranges/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-iranges/trunk/debian/control 2013-12-03 07:42:33 UTC (rev 15405)
+++ trunk/packages/R/r-bioc-iranges/trunk/debian/control 2013-12-03 10:48:16 UTC (rev 15406)
@@ -2,6 +2,7 @@
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,
Added: trunk/packages/R/r-bioc-iranges/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-iranges/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-bioc-iranges/trunk/debian/tests/control 2013-12-03 10:48:16 UTC (rev 15406)
@@ -0,0 +1 @@
+Tests: run-unit-test
Added: trunk/packages/R/r-bioc-iranges/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-iranges/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-bioc-iranges/trunk/debian/tests/run-unit-test 2013-12-03 10:48:16 UTC (rev 15406)
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+require("IRanges")
+IRanges:::.test()
+EOT
+
More information about the debian-med-commit
mailing list