[med-svn] r22436 - trunk/packages/R/r-cran-treescape/trunk/debian/tests
Andreas Tille
tille at moszumanska.debian.org
Fri Jul 8 10:52:09 UTC 2016
Author: tille
Date: 2016-07-08 10:52:08 +0000 (Fri, 08 Jul 2016)
New Revision: 22436
Modified:
trunk/packages/R/r-cran-treescape/trunk/debian/tests/run-unit-test
Log:
Fix test
Modified: trunk/packages/R/r-cran-treescape/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-treescape/trunk/debian/tests/run-unit-test 2016-07-08 10:48:06 UTC (rev 22435)
+++ trunk/packages/R/r-cran-treescape/trunk/debian/tests/run-unit-test 2016-07-08 10:52:08 UTC (rev 22436)
@@ -5,8 +5,9 @@
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
+find . -name "*.gz" -exec gunzip \{\} \;
LC_ALL=C R --no-save < testthat.R
-rm -fr $ADTTMP/*
More information about the debian-med-commit
mailing list