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

David Prévot taffit at moszumanska.debian.org
Sat Jun 14 22:55:45 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud-client.

commit 8c496642010df1da7c928c412e73effa84d1cbdd
Author: David Prévot <taffit at debian.org>
Date:   Sat Jun 14 18:53:27 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 9bd86bc..b78b695 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,13 @@ DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
 	dh $@ --parallel --with sphinxdoc --with pkgkde_symbolshelper
 
 override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 	mkdir obj-$(DEB_HOST_GNU_TYPE)/config
 	XDG_CONFIG_HOME=$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/config dh_auto_test --max-parallel=1
 	rm -r obj-$(DEB_HOST_GNU_TYPE)/config
+else
+	@echo "** tests disabled"
+endif
 
 override_dh_auto_configure-arch:
 	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DUNIT_TESTING=ON -DDEBIAN_VERSION=$(DEBVERS)

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



More information about the Pkg-owncloud-commits mailing list