[libgnupg-interface-perl] 02/03: Create writable build HOME used for testsuite

Salvatore Bonaccorso carnil at debian.org
Mon Jun 29 20:26:54 UTC 2015


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

carnil pushed a commit to branch master
in repository libgnupg-interface-perl.

commit 9fcd73a6f8749785641fa066bd101ac6acc77ade
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Mon Jun 29 21:12:07 2015 +0200

    Create writable build HOME used for testsuite
    
    Fixes "FTBFS in sid: test failures".
    
    Closes: #789828
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..bc67c36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,14 @@
 #!/usr/bin/make -f
 
+BUILDHOME = $(CURDIR)/debian/build
+
 %:
 	dh $@
+
+override_dh_clean:
+	dh_clean
+	rm -rf $(BUILDHOME)
+
+override_dh_auto_test:
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) dh_auto_test

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



More information about the Pkg-perl-cvs-commits mailing list