[libdebug-client-perl] 01/02: Set HOME in debian/rules for tests.
gregor herrmann
gregoa at debian.org
Sat Jun 28 13:13:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdebug-client-perl.
commit 474e33354758619fb239c0dc4d6febb7b7115ca0
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jun 28 15:05:27 2014 +0200
Set HOME in debian/rules for tests.
Closes: #752925.
---
debian/rules | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 318f418..b8d7bea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,16 @@
#!/usr/bin/make -f
+BUILDHOME = $(CURDIR)/debian/build
+
TEST_FILES = $(filter-out t/00-check-deps.t t/01-compile.t,$(shell echo t/*.t))
%:
dh $@
+override_dh_clean:
+ dh_clean
+ rm -rf $(BUILDHOME)
+
override_dh_auto_test:
- TERM=dumb dh_auto_test -- TEST_FILES="$(TEST_FILES)"
+ mkdir -p $(BUILDHOME)
+ TERM=dumb HOME=$(BUILDHOME) dh_auto_test -- TEST_FILES="$(TEST_FILES)"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdebug-client-perl.git
More information about the Pkg-perl-cvs-commits
mailing list