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

David Prévot taffit at moszumanska.debian.org
Sun Jun 15 02:08:53 UTC 2014


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

taffit pushed a commit to branch 2.1
in repository php-sabre-vobject.

commit 8b3e5d08b49dd70097e23fb856acb8e7c42efc39
Author: David Prévot <taffit at debian.org>
Date:   Sat Jun 14 21:32:14 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 1e6b168..04b3d00 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 --rename --force

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



More information about the Pkg-owncloud-commits mailing list