[med-svn] [permute] 05/07: fix autopkgtest

Andreas Tille tille at debian.org
Mon Aug 8 07:44:51 UTC 2016


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

tille pushed a commit to branch master
in repository permute.

commit de8d038599b78b9cb048c3c00d4b9337998afa68
Author: Andreas Tille <tille at debian.org>
Date:   Mon Aug 8 09:32:27 2016 +0200

    fix autopkgtest
---
 debian/changelog           | 3 ++-
 debian/tests/run-unit-test | 5 ++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aaac569..bb72af6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ permute (0.9-0-1) UNRELEASED; urgency=medium
 
   * New upstream version
   * cme fix dpkg-control
+  * fix autopkgtest
 
- -- Andreas Tille <tille at debian.org>  Mon, 08 Aug 2016 09:15:55 +0200
+ -- Andreas Tille <tille at debian.org>  Mon, 08 Aug 2016 09:17:30 +0200
 
 permute (0.8-3-1) unstable; urgency=medium
 
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 31c6323..5927d25 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -3,10 +3,9 @@
 pkg=r-cran-permute
 if [ "$ADTTMP" = "" ] ; then
   ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
 fi
 cd $ADTTMP
 cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
 gunzip -r *
-# LC_ALL=C R CMD BATCH test-all.R
-LC_ALL=C R --no-save < test-all.R
-rm -fr $ADTTMP/*
+LC_ALL=C R --no-save < testthat.R

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



More information about the debian-med-commit mailing list