[dh-r] 01/01: Re-enable running script from autopkgtest

Andreas Tille tille at debian.org
Fri Nov 17 11:53:24 UTC 2017


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

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

commit b6fd7cb5674fb6bc4d9d6ddc71e0b83350f7430e
Author: Andreas Tille <tille at debian.org>
Date:   Fri Nov 17 12:53:01 2017 +0100

    Re-enable running script from autopkgtest
---
 scripts/dh-make-R | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/dh-make-R b/scripts/dh-make-R
index 5030f2a..781e69c 100755
--- a/scripts/dh-make-R
+++ b/scripts/dh-make-R
@@ -212,6 +212,10 @@ my $test_run_unit_test = <<"EOF";
 pkgname=$desc->{Package}
 debname=$debname
 
+if [ "\$AUTOPKGTEST_TMP" = "" ] ; then
+    AUTOPKGTEST_TMP=`mktemp -d /tmp/\${debname}-test.XXXXXX`
+    trap "rm -rf \$AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
+fi
 cd \$AUTOPKGTEST_TMP
 cp -a /usr/share/doc/\$debname/tests/* \$AUTOPKGTEST_TMP
 gunzip -r *

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dh-r.git



More information about the debian-science-commits mailing list