From 9076a0140dc924dcf105e4ef8ab25ba3bd5636dc Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 25 May 2017 10:00:04 +0100 Subject: [PATCH] Skip build-time tests when nocheck is in DEB_BUILD_OPTIONS Bug-Debian: https://bugs.debian.org/862803 Thanks: Krzesimir Nowak --- debian/changelog | 2 ++ debian/rules | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2cf19b2c..6f629e59 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ ostree (2017.6-1) UNRELEASED; urgency=medium - Update debian/copyright - Update disabled ostree-boot packaging for new systemd generator - Add new ABI to symbols file + * Skip build-time tests when nocheck is in DEB_BUILD_OPTIONS + (Closes: #862803). Thanks to Krzesimir Nowak -- Simon McVittie Wed, 24 May 2017 20:50:51 +0100 diff --git a/debian/rules b/debian/rules index 902ca253..15057ba9 100755 --- a/debian/rules +++ b/debian/rules @@ -29,7 +29,9 @@ override_dh_auto_configure: $(NULL) override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) debian/test.sh +endif override_dh_auto_install: dh_auto_install