Author: tille
Date: 2013-12-28 15:52:14 +0000 (Sat, 28 Dec 2013)
New Revision: 15640
Added:
trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/
trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/control
trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-bioc-annotationdbi/trunk/debian/README.test
trunk/packages/R/r-bioc-annotationdbi/trunk/debian/changelog
trunk/packages/R/r-bioc-annotationdbi/trunk/debian/control
Log:
New upstream version including test suite
Modified: trunk/packages/R/r-bioc-annotationdbi/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-annotationdbi/trunk/debian/README.test
2013-12-28 15:29:58 UTC (rev 15639)
+++ trunk/packages/R/r-bioc-annotationdbi/trunk/debian/README.test
2013-12-28 15:52:14 UTC (rev 15640)
@@ -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(AnnotationDbi)’ in order to confirm its integrity.
+This package can be tested by running the provided test:
+
+LC_ALL=C R --no-save <<EOT
+require("AnnotationDbi") || stop("unable to load AnnotationDbi package")
+AnnotationDbi:::.test()
+EOT
+
+in order to confirm its integrity.
Modified: trunk/packages/R/r-bioc-annotationdbi/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-annotationdbi/trunk/debian/changelog
2013-12-28 15:29:58 UTC (rev 15639)
+++ trunk/packages/R/r-bioc-annotationdbi/trunk/debian/changelog
2013-12-28 15:52:14 UTC (rev 15640)
@@ -1,6 +1,7 @@
-r-bioc-annotationdbi (1.24.0-1) UNRELEASED; urgency=medium
+r-bioc-annotationdbi (1.24.0-1) unstable; urgency=medium
* New upstream version
+ * Add test suite
-- Andreas Tille <[email protected]> Sat, 28 Dec 2013 16:28:07 +0100
Modified: trunk/packages/R/r-bioc-annotationdbi/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-annotationdbi/trunk/debian/control 2013-12-28
15:29:58 UTC (rev 15639)
+++ trunk/packages/R/r-bioc-annotationdbi/trunk/debian/control 2013-12-28
15:52:14 UTC (rev 15640)
@@ -2,6 +2,7 @@
Maintainer: Debian Med Packaging Team
<[email protected]>
Uploaders: Andreas Tille <[email protected]>
Section: gnu-r
+XS-Testsuite: autopkgtest
Priority: optional
Build-Depends: debhelper (>= 9),
cdbs,
Added: trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/control
(rev 0)
+++ trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/control
2013-12-28 15:52:14 UTC (rev 15640)
@@ -0,0 +1 @@
+Tests: run-unit-test
Added: trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/run-unit-test
(rev 0)
+++ trunk/packages/R/r-bioc-annotationdbi/trunk/debian/tests/run-unit-test
2013-12-28 15:52:14 UTC (rev 15640)
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+require("AnnotationDbi")
+AnnotationDbi:::.test()
+EOT
+
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit