[cminpack] 01/02: Support DEB_BUILD_OPTIONS=nocheck
Ole Streicher
olebole at moszumanska.debian.org
Mon Jul 10 12:33:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch master
in repository cminpack.
commit bf1ca57f86b40c33b4955ece6102730e42bc4d9b
Author: Ole Streicher <olebole at debian.org>
Date: Mon Jul 10 14:30:41 2017 +0200
Support DEB_BUILD_OPTIONS=nocheck
Patch by Dima Kogan <dkogan at debian.org>
Closes: #861988
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index dc8ea3d..8ca47a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,11 @@ override_dh_auto_configure:
dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
override_dh_auto_test:
+ifeq ($(filter $(DEB_BUILD_OPTIONS),nocheck),)
$(MAKE) -C examples ctest
+else
+ @echo '"DEB_BUILD_OPTIONS" has "nocheck". Skipping tests'
+endif
override_dh_clean:
dh_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cminpack.git
More information about the debian-science-commits
mailing list