[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:51 UTC 2014


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

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

commit 01345b6ad005c95d618d163689f47a897bc7a8fd
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 d0b4780..aef6451 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,11 @@
 	dh $@ --with phpcomposer -XICON-LICENSE
 
 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