Bug#901150: tetgen does not honour DEB_BUILD_OPTIONS=nocheck
Helmut Grohne
helmut at subdivi.de
Sat Jun 9 14:34:36 BST 2018
Source: tetgen
Version: 1.5.0-4
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
tetgen runs tests even when DEB_BUILD_OPTIONS contains "nocheck". This
breaks cross compilation as the tests (expectedly) fail there. Please
consider applying the attached patch.
Helmut
-------------- next part --------------
diff --minimal -Nru tetgen-1.5.0/debian/changelog tetgen-1.5.0/debian/changelog
--- tetgen-1.5.0/debian/changelog 2016-09-04 18:39:15.000000000 +0200
+++ tetgen-1.5.0/debian/changelog 2018-06-09 13:50:26.000000000 +0200
@@ -1,3 +1,10 @@
+tetgen (1.5.0-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sat, 09 Jun 2018 13:50:26 +0200
+
tetgen (1.5.0-4) unstable; urgency=medium
* [66adeb6] Apply cme fix dpkg.
diff --minimal -Nru tetgen-1.5.0/debian/rules tetgen-1.5.0/debian/rules
--- tetgen-1.5.0/debian/rules 2016-09-04 18:25:26.000000000 +0200
+++ tetgen-1.5.0/debian/rules 2018-06-09 13:50:23.000000000 +0200
@@ -15,8 +15,10 @@
dh_auto_build
docbook-to-man debian/tetgen.sgml > tetgen.1
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
$(BUILDDIR)/tetgen -p example.poly
+endif
get-orig-source:
uscan --force-download --rename --verbose --upstream-version $(TETGEN_VERSION)
More information about the debian-science-maintainers
mailing list