[med-svn] r15632 - in trunk/packages/R/r-bioc-rtracklayer/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Sat Dec 28 00:56:08 UTC 2013
Author: tille
Date: 2013-12-28 00:56:07 +0000 (Sat, 28 Dec 2013)
New Revision: 15632
Added:
trunk/packages/R/r-bioc-rtracklayer/trunk/debian/README.source
trunk/packages/R/r-bioc-rtracklayer/trunk/debian/tests/
trunk/packages/R/r-bioc-rtracklayer/trunk/debian/tests/control
trunk/packages/R/r-bioc-rtracklayer/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-bioc-rtracklayer/trunk/debian/README.test
trunk/packages/R/r-bioc-rtracklayer/trunk/debian/control
Log:
Add information about binary file and how to start the test suite
Added: trunk/packages/R/r-bioc-rtracklayer/trunk/debian/README.source
===================================================================
--- trunk/packages/R/r-bioc-rtracklayer/trunk/debian/README.source (rev 0)
+++ trunk/packages/R/r-bioc-rtracklayer/trunk/debian/README.source 2013-12-28 00:56:07 UTC (rev 15632)
@@ -0,0 +1,9 @@
+Explanation for binary files inside source package according to
+ http://lists.debian.org/debian-devel/2013/09/msg00332.html
+
+Files: build/vignette.rds
+ In the documentation (inst/doc/rtracklayer.Rnw) it is described how the
+ vignette was created.
+
+ -- Andreas Tille <tille at debian.org> Wed, 04 Sep 2013 15:15:31 +0200
+
Modified: trunk/packages/R/r-bioc-rtracklayer/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-rtracklayer/trunk/debian/README.test 2013-12-28 00:45:50 UTC (rev 15631)
+++ trunk/packages/R/r-bioc-rtracklayer/trunk/debian/README.test 2013-12-28 00:56:07 UTC (rev 15632)
@@ -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(rtracklayer)’ in order to confirm its integrity.
+This package can be tested by running the provided test:
+
+LC_ALL=C R --no-save <<EOT
+require("rtracklayer") || stop("unable to load rtracklayer package")
+rtracklayer:::.test()
+EOT
+
+in order to confirm its integrity.
Modified: trunk/packages/R/r-bioc-rtracklayer/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-rtracklayer/trunk/debian/control 2013-12-28 00:45:50 UTC (rev 15631)
+++ trunk/packages/R/r-bioc-rtracklayer/trunk/debian/control 2013-12-28 00:56:07 UTC (rev 15632)
@@ -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-rtracklayer/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-rtracklayer/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-bioc-rtracklayer/trunk/debian/tests/control 2013-12-28 00:56:07 UTC (rev 15632)
@@ -0,0 +1 @@
+Tests: run-unit-test
Added: trunk/packages/R/r-bioc-rtracklayer/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-rtracklayer/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-bioc-rtracklayer/trunk/debian/tests/run-unit-test 2013-12-28 00:56:07 UTC (rev 15632)
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+require("rtracklayer")
+rtracklayer:::.test()
+EOT
+
More information about the debian-med-commit
mailing list