summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Moeller <moeller@debian.org>2019-12-05 11:43:46 +0100
committerSteffen Moeller <moeller@debian.org>2019-12-05 11:43:46 +0100
commitb4c374a79bc766930589acc8894be27b4aab3e32 (patch)
treea0efd1c28a04629cdcb38f2af10b890c77d4c429
parent940a76bcb57a16cc6b2efa46a2ac289ff1d1a29e (diff)
R-U: DEB_BUILD_OPTIONS allow override_dh_auto_test
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 75b1863..86472a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ mirtop (0.4.23-1) UNRELEASED; urgency=medium
* New upstream version
* Standards-Version: 4.4.1
+ * Respect DEB_BUILD_OPTIONS in override_dh_auto_test target
-- Steffen Moeller <moeller@debian.org> Thu, 05 Dec 2019 11:42:22 +0100
diff --git a/debian/rules b/debian/rules
index d9f902e..99ea6e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,10 @@ export PYBUILD_NAME=mirtop
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ # No tests, yet
@echo "Not testing."
+endif
override_dh_install:
dh_install