From cc69c02abe77b06f906aad5a1703cb26564508d5 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 29 Aug 2017 16:36:05 +0100 Subject: [PATCH] Only run tests when building architecture-dependent packages The tests aren't so interesting that we want to run them again when splitting -arch/-indep builds. --- debian/changelog | 3 +++ debian/rules | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e2d89f1d..dd4bdcbf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ ostree (2017.10-1) UNRELEASED; urgency=medium - Update symbols file - Install new bash completions * Use dh_missing --fail-missing instead of dh_install --fail-missing + * Only run tests when building architecture-dependent packages. + The tests aren't so interesting that we want to run them again + when splitting -arch/-indep builds. -- Simon McVittie Tue, 29 Aug 2017 16:08:09 +0100 diff --git a/debian/rules b/debian/rules index 3a09c15d..5dfb3bd2 100755 --- a/debian/rules +++ b/debian/rules @@ -38,11 +38,14 @@ endif override_dh_auto_configure: dh_auto_configure -- $(configure_options) -override_dh_auto_test: +override_dh_auto_test-arch: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) debian/test.sh endif +override_dh_auto_test-indep: + : + override_dh_auto_install: dh_auto_install ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))