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

ntyni pushed a commit to branch master
in repository libhtml-formatexternal-perl.

commit 61ab9a87d35f87018d08c97acbec86a1e33e06d0
Author: Niko Tyni <nt...@debian.org>
Date:   Tue Oct 13 21:24:04 2015 +0300

    Create a temporary home directory for the test suite
    
    The elinks and links2 plugins try to access $HOME.
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index f8bd4c7..2e68c37 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,17 @@
 #!/usr/bin/make -f
 
+BUILDHOME = $(CURDIR)/debian/build
+
 # for HTML::FormatText::Netrik
 export TERM=dumb
 
+override_dh_clean:
+       dh_clean
+       rm -rf $(BUILDHOME)
+
+override_dh_auto_test:
+       mkdir -p $(BUILDHOME)
+       HOME=$(BUILDHOME) dh_auto_test
+
 %:
        dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libhtml-formatexternal-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to