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

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


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

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

commit 5d1ee3b06e72dc92473e61a9a202ab06a355bd69
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 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d283e9f..a5cb11d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,11 @@ override_dh_auto_clean:
 	dh_auto_clean
 
 override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 	cd tests && phpunit
-	dh_auto_test
+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