[med-svn] r18305 - in trunk/packages/R/r-bioc-hilbertvis/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Thu Oct 16 09:17:45 UTC 2014
Author: tille
Date: 2014-10-16 09:17:44 +0000 (Thu, 16 Oct 2014)
New Revision: 18305
Added:
trunk/packages/R/r-bioc-hilbertvis/trunk/debian/examples
trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/
trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/control
trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-bioc-hilbertvis/trunk/debian/README.test
trunk/packages/R/r-bioc-hilbertvis/trunk/debian/changelog
trunk/packages/R/r-bioc-hilbertvis/trunk/debian/copyright
trunk/packages/R/r-bioc-hilbertvis/trunk/debian/docs
Log:
add autopkgtest based on vignettes
Modified: trunk/packages/R/r-bioc-hilbertvis/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-hilbertvis/trunk/debian/README.test 2014-10-16 09:04:00 UTC (rev 18304)
+++ trunk/packages/R/r-bioc-hilbertvis/trunk/debian/README.test 2014-10-16 09:17:44 UTC (rev 18305)
@@ -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(HilbertVis)’ 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-hilbertvis/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-hilbertvis/trunk/debian/changelog 2014-10-16 09:04:00 UTC (rev 18304)
+++ trunk/packages/R/r-bioc-hilbertvis/trunk/debian/changelog 2014-10-16 09:17:44 UTC (rev 18305)
@@ -1,7 +1,9 @@
-r-bioc-hilbertvis (1.24.0-1) UNRELEASED; urgency=medium
+r-bioc-hilbertvis (1.24.0-1) unstable; urgency=medium
* New upstream version
* cme fix dpkg-control
+ * add autopkgtest based on vignettes
+ * Some DEP5 fixes
-- Andreas Tille <tille at debian.org> Thu, 16 Oct 2014 10:49:06 +0200
Modified: trunk/packages/R/r-bioc-hilbertvis/trunk/debian/copyright
===================================================================
--- trunk/packages/R/r-bioc-hilbertvis/trunk/debian/copyright 2014-10-16 09:04:00 UTC (rev 18304)
+++ trunk/packages/R/r-bioc-hilbertvis/trunk/debian/copyright 2014-10-16 09:17:44 UTC (rev 18305)
@@ -1,19 +1,19 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: HilbertVis
Upstream-Contact: Simon Anders <sanders at fs.tum.de>
-Source: http://www.bioconductor.org/packages/release/bioc/src/contrib/HilbertVis_1.18.0.tar.gz
+Source: http://bioconductor.org/packages/release/bioc/html/HilbertVis.html
Files: *
-Copyright: 2009-2012 Simon Anders <sanders at fs.tum.de>;
+Copyright: 2009-2014 Simon Anders <sanders at fs.tum.de>;
European Bioinformatics Institute (EBI)
-License: GPL3+
+License: GPL-3
Files: debian/*
Copyright: 2009 Steffen Moeller <moeller at debian.org>,
- 2009-2012 Andreas Tille <tille at debian.org>
-License: GPL3+
+ 2009-2014 Andreas Tille <tille at debian.org>
+License: GPL-3
-License: GPL3+
+License: GPL-3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Modified: trunk/packages/R/r-bioc-hilbertvis/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-bioc-hilbertvis/trunk/debian/docs 2014-10-16 09:04:00 UTC (rev 18304)
+++ trunk/packages/R/r-bioc-hilbertvis/trunk/debian/docs 2014-10-16 09:17:44 UTC (rev 18305)
@@ -1 +1,2 @@
debian/README.test
+debian/tests/run-unit-test
Added: trunk/packages/R/r-bioc-hilbertvis/trunk/debian/examples
===================================================================
--- trunk/packages/R/r-bioc-hilbertvis/trunk/debian/examples (rev 0)
+++ trunk/packages/R/r-bioc-hilbertvis/trunk/debian/examples 2014-10-16 09:17:44 UTC (rev 18305)
@@ -0,0 +1 @@
+vignettes
Added: trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/control 2014-10-16 09:17:44 UTC (rev 18305)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
Added: trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-bioc-hilbertvis/trunk/debian/tests/run-unit-test 2014-10-16 09:17:44 UTC (rev 18305)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+oname=HilbertVis
+pkg=r-bioc-`echo $oname | tr [A-Z] [a-z]`
+
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+for rnw in `ls *.[rRS]nw` ; do
+rfile=`echo $rnw | sed 's/\.[rRS]nw/.R/'`
+R --no-save <<EOT
+ Stangle("$rnw")
+ source("$rfile", echo=TRUE)
+EOT
+done
+rm -rf *
More information about the debian-med-commit
mailing list