[med-svn] [r-cran-epi] 01/01: Fix autopkgtest

Andreas Tille tille at debian.org
Wed Nov 22 10:47: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 1b4c018d2dfb5be6262aff1822bad3844111957b
Author: Andreas Tille <tille at debian.org>
Date:   Wed Nov 22 11:47:18 2017 +0100

    Fix autopkgtest
---
 debian/changelog           |  7 +++++++
 debian/tests/run-unit-test | 15 +++++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4a41390..821f579 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+r-cran-epi (2.19-2) UNRELEASED; urgency=medium
+
+  * Fix autopkgtest (Thanks for the hint to Matthias Klose <doko at debian.org>)
+    Closes: #882382
+
+ -- Andreas Tille <tille at debian.org>  Wed, 22 Nov 2017 11:46:06 +0100
+
 r-cran-epi (2.19-1) unstable; urgency=medium
 
   * New upstream version
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 630f753..e95965b 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -1,13 +1,16 @@
 #!/bin/sh -e
 oname=epi
-pkg=r-cran-`echo $oname | tr [A-Z] [a-z]`
+pkg=r-cran-`echo $oname | tr '[A-Z]' '[a-z]'`
 
-if [ "$ADTTMP" = "" ] ; then
-  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
 fi
-cd $ADTTMP
-cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
-gunzip *.gz
+cd $AUTOPKGTEST_TMP
+cp -a /usr/share/doc/$pkg/examples/vignettes .
+gunzip vignettes/*.gz
+mkdir R
+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/'`
 R --no-save <<EOT

-- 
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