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

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=60e6709bf3b2dfb2e2536edf1730c49e69b8ddde

commit 60e6709bf3b2dfb2e2536edf1730c49e69b8ddde
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Oct 17 19:13:15 2013 +0200

    build: Enable dpkg-maintscript-helper debugging on debug option
---
 Test.mk | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Test.mk b/Test.mk
index 63e59ac8e..07c2c1bce 100644
--- a/Test.mk
+++ b/Test.mk
@@ -6,11 +6,15 @@
 
 -include ../.pkg-tests.conf
 
+ifneq (,$(filter debug,$(DPKG_TESTSUITE_OPTIONS)))
+DPKG_MAINTSCRIPT_DEBUG = DPKG_DEBUG=1
+endif
+
 ifdef DPKG_BUILDTREE
 PATH := 
$(DPKG_BUILDTREE)/dpkg-deb:$(DPKG_BUILDTREE)/dpkg-split:$(DPKG_BUILDTREE)/src:$(DPKG_BUILDTREE)/utils:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-BEROOT := sudo env PATH=$(PATH)
+BEROOT := sudo env PATH=$(PATH) $(DPKG_MAINTSCRIPT_DEBUG)
 else
-BEROOT := sudo
+BEROOT := sudo env $(DPKG_MAINTSCRIPT_DEBUG)
 endif
 
 DPKG_OPTIONS = --force-unsafe-io --no-debsig

-- 
Dpkg.Org's dpkg

Reply via email to