Thanks: Matthijs Kooijman
Closes: #669149
---
 debian/rules |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6360dff..63845b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,7 @@ PYCHECKER_ARGS=-boptparse --no-override --no-shadowbuiltin
 %:
        dh $@ --with python2
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
        dh_auto_test
        export GIT_AUTHOR_NAME="Gbp Tests";             \
@@ -25,6 +26,7 @@ override_dh_auto_test:
        
        PYTHONPATH=. pychecker $(PYCHECKER_ARGS) -q \
                gbp gbp.scripts gbp.git gbp.deb
+endif
 
 override_dh_auto_build:
        dh_auto_build
-- 
1.7.7.3




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to