[med-svn] r17287 - in trunk/packages/R/r-cran-surveillance/trunk/debian: . patches tests
Andreas Tille
tille at moszumanska.debian.org
Mon Jun 23 13:04:26 UTC 2014
Author: tille
Date: 2014-06-23 13:04:26 +0000 (Mon, 23 Jun 2014)
New Revision: 17287
Added:
trunk/packages/R/r-cran-surveillance/trunk/debian/tests/
trunk/packages/R/r-cran-surveillance/trunk/debian/tests/control
trunk/packages/R/r-cran-surveillance/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-cran-surveillance/trunk/debian/README.test
trunk/packages/R/r-cran-surveillance/trunk/debian/changelog
trunk/packages/R/r-cran-surveillance/trunk/debian/control
trunk/packages/R/r-cran-surveillance/trunk/debian/docs
trunk/packages/R/r-cran-surveillance/trunk/debian/patches/series
Log:
New upstream version, autopkgtest, versioned Build-Depends r-cran-polycub
Modified: trunk/packages/R/r-cran-surveillance/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-surveillance/trunk/debian/README.test 2014-06-23 12:07:25 UTC (rev 17286)
+++ trunk/packages/R/r-cran-surveillance/trunk/debian/README.test 2014-06-23 13:04:26 UTC (rev 17287)
@@ -1,8 +1,8 @@
Notes on how this package can be tested.
────────────────────────────────────────
-This package can be tested by running the provided test:
+To run the unit tests provided by the package you can do
-LC_ALL=C R --no-save < tests/doRUnit.R
+ sh run-unit-test
-in order to confirm its integrity.
+in this directory.
Modified: trunk/packages/R/r-cran-surveillance/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-surveillance/trunk/debian/changelog 2014-06-23 12:07:25 UTC (rev 17286)
+++ trunk/packages/R/r-cran-surveillance/trunk/debian/changelog 2014-06-23 13:04:26 UTC (rev 17287)
@@ -1,3 +1,12 @@
+r-cran-surveillance (1.8-0-1) UNRELEASED; urgency=medium
+
+ * New upstream version
+ * Versioned Build-Depends: r-cran-polycub (>= 0.4-2)
+ * Moved debian/upstream to debian/upstream/metadata
+ * Add autopkgtest
+
+ -- Andreas Tille <tille at debian.org> Mon, 23 Jun 2014 14:45:51 +0200
+
r-cran-surveillance (1.7-0-1) unstable; urgency=low
* New upstream version
Modified: trunk/packages/R/r-cran-surveillance/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-surveillance/trunk/debian/control 2014-06-23 12:07:25 UTC (rev 17286)
+++ trunk/packages/R/r-cran-surveillance/trunk/debian/control 2014-06-23 13:04:26 UTC (rev 17287)
@@ -18,7 +18,7 @@
r-cran-colorspace,
r-cran-matrix,
r-cran-spatstat,
- r-cran-polycub
+ r-cran-polycub (>= 0.4-2)
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-surveillance/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-surveillance/trunk/
@@ -36,7 +36,7 @@
r-cran-mass,
r-cran-colorspace,
r-cran-spatstat,
- r-cran-polycub
+ r-cran-polycub (>= 0.4-2)
Description: development and the evaluation of epidemiological outbreak detection algorithms
The R-package 'surveillance' is a framework for the development and the
evaluation of outbreak detection algorithms in univariate and multivariate
Modified: trunk/packages/R/r-cran-surveillance/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-surveillance/trunk/debian/docs 2014-06-23 12:07:25 UTC (rev 17286)
+++ trunk/packages/R/r-cran-surveillance/trunk/debian/docs 2014-06-23 13:04:26 UTC (rev 17287)
@@ -1,2 +1,3 @@
debian/README.test
+debian/tests/run-unit-test
tests
Modified: trunk/packages/R/r-cran-surveillance/trunk/debian/patches/series
===================================================================
--- trunk/packages/R/r-cran-surveillance/trunk/debian/patches/series 2014-06-23 12:07:25 UTC (rev 17286)
+++ trunk/packages/R/r-cran-surveillance/trunk/debian/patches/series 2014-06-23 13:04:26 UTC (rev 17287)
@@ -1 +1 @@
-prevent_test_from_writing_to_usr_lib.patch
+# prevent_test_from_writing_to_usr_lib.patch
Added: trunk/packages/R/r-cran-surveillance/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-surveillance/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-cran-surveillance/trunk/debian/tests/control 2014-06-23 13:04:26 UTC (rev 17287)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr
Added: trunk/packages/R/r-cran-surveillance/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-surveillance/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-cran-surveillance/trunk/debian/tests/run-unit-test 2014-06-23 13:04:26 UTC (rev 17287)
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+pkg=r-cran-surveillance
+
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+gunzip -r *
+# Make sure we are using C locale to pass all tests
+LC_ALL=C R --no-save < test-all.R
+rm -rf $ADTTMP/*
More information about the debian-med-commit
mailing list