[med-svn] [r-cran-epi] 01/03: Do not use vignettes that are causing infinite loops in autopkgtest

Andreas Tille tille at debian.org
Sun Dec 10 08:39:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-epi.

commit 331e5a03d420f33b340c16c03dc42cd4efcfb492
Author: Andreas Tille <tille at debian.org>
Date:   Sun Dec 10 09:22:39 2017 +0100

    Do not use vignettes that are causing infinite loops in autopkgtest
---
 debian/changelog           | 7 +++++++
 debian/tests/run-unit-test | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 30736e4..1317db6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+r-cran-epi (2.19-3) UNRELEASED; urgency=medium
+
+  * Do not use vignettes that are causing infinite loops in autopkgtest
+    Closes: #882382
+
+ -- Andreas Tille <tille at debian.org>  Sun, 10 Dec 2017 09:21:38 +0100
+
 r-cran-epi (2.19-2) unstable; urgency=medium
 
   * Fix autopkgtest (Thanks for the hint to Matthias Klose <doko at debian.org>)
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index e95965b..33a9b51 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -13,6 +13,10 @@ cp /usr/lib/R/site-library/Epi/doc/simLexis.R R/.
 cd vignettes
 for rnw in `ls *.[rR]nw` ; do
 rfile=`echo $rnw | sed 's/\.[rR]nw/.R/'`
+if [ "$rfile" = "simLexis.R" -o "$rfile" = "yll.R" ] ; then
+    >&2 echo "Vignete $rnw runs infinite loop - ignoring this for the test"
+    continue
+fi
 R --no-save <<EOT
   Stangle("$rnw")
   source("$rfile", echo=TRUE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-epi.git



More information about the debian-med-commit mailing list