[Pkg-owncloud-commits] [php-sabredav] 01/01: No tests if DEB_BUILD_OPTIONS contains nocheck

David Prévot taffit at moszumanska.debian.org
Sun Jun 15 01:14:50 UTC 2014


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

taffit pushed a commit to branch 1.8
in repository php-sabredav.

commit 16d3602b65f36fd1d9b7c1f0b5575362261e356e
Author: David Prévot <taffit at debian.org>
Date:   Sat Jun 14 21:07:17 2014 -0400

    No tests if DEB_BUILD_OPTIONS contains nocheck
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2fa002d..6fd9e74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,11 @@
 	dh $@ --with phpcomposer
 
 override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 	cd tests && phpunit
+else
+	@echo "** tests disabled"
+endif
 
 get-orig-source:
 	uscan --verbose --force --rename

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list