[nfft] 05/07: Add support for the nocheck build option

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Sep 29 13:16:19 UTC 2017


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

ghisvail-guest pushed a commit to branch debian/experimental
in repository nfft.

commit fb59f1fc1bc9df82b2b208e14bb6422c64b56096
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Sep 28 12:45:57 2017 +0100

    Add support for the nocheck build option
---
 debian/rules | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 17425ec..14b2cd3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,13 +59,12 @@ override_dh_auto_build-arch:
 override_dh_auto_build-indep:
 	dh_auto_build --builddirectory=build-double -- doc
 
-override_dh_auto_test-arch:
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	for p in $(PRECISIONS) ; do \
 		dh_auto_test --builddirectory=build-$$p ; \
 	done
-
-override_dh_auto_test-indep:
-	# No-op.
+endif
 
 override_dh_auto_install-arch:
 	for p in $(PRECISIONS) ; do \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/nfft.git



More information about the debian-science-commits mailing list