[med-svn] r17076 - in trunk/packages/R/r-bioc-altcdfenvs/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Sun Jun 8 14:41:00 UTC 2014
Author: tille
Date: 2014-06-08 14:41:00 +0000 (Sun, 08 Jun 2014)
New Revision: 17076
Added:
trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/
trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/control
trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/README.test
trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/changelog
trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/control
trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/docs
Log:
Add autopkgtest
Modified: trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/README.test 2014-06-08 14:09:54 UTC (rev 17075)
+++ trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/README.test 2014-06-08 14:41:00 UTC (rev 17076)
@@ -1,5 +1,8 @@
Notes on how this package can be tested.
────────────────────────────────────────
-This package can be tested by loading it into R with the command
-‘library(altcdfenvs)’ in order to confirm its integrity.
+To run the unit tests provided by the package you can do
+
+ sh run-unit-test
+
+in this directory.
Modified: trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/changelog 2014-06-08 14:09:54 UTC (rev 17075)
+++ trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/changelog 2014-06-08 14:41:00 UTC (rev 17076)
@@ -1,7 +1,8 @@
-r-bioc-altcdfenvs (2.26.0-1) UNRELEASED; urgency=medium
+r-bioc-altcdfenvs (2.26.0-1) unstable; urgency=medium
* New upstream version
* Moved debian/upstream to debian/upstream/metadata
+ * Add autopkgtest
-- Andreas Tille <tille at debian.org> Sun, 08 Jun 2014 16:09:16 +0200
Modified: trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/control 2014-06-08 14:09:54 UTC (rev 17075)
+++ trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/control 2014-06-08 14:41:00 UTC (rev 17076)
@@ -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,
@@ -12,7 +13,7 @@
r-bioc-affy,
r-bioc-hypergraph,
r-bioc-makecdfenv
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-bioc-altcdfenvs/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-bioc-altcdfenvs/trunk/
Homepage: http://bioconductor.org/packages/release/bioc/html/altcdfenvs.html
Modified: trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/docs 2014-06-08 14:09:54 UTC (rev 17075)
+++ trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/docs 2014-06-08 14:41:00 UTC (rev 17076)
@@ -1 +1,2 @@
debian/README.test
+debian/tests/run-unit-test
Added: trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/control 2014-06-08 14:41:00 UTC (rev 17076)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr
Added: trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-bioc-altcdfenvs/trunk/debian/tests/run-unit-test 2014-06-08 14:41:00 UTC (rev 17076)
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+pkg=r-bioc-altcdfenvs
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/lib/R/site-library/altcdfenvs/UnitTests/* $ADTTMP
+for runtest in `ls *.R` ; do
+ R --no-save < $runtest
+done
+rm -f $ADTTMP/*
More information about the debian-med-commit
mailing list