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.
This commit is contained in:
Simon McVittie 2017-08-29 16:36:05 +01:00
parent 54799d7ef7
commit cc69c02abe
2 changed files with 7 additions and 1 deletions

3
debian/changelog vendored
View File

@ -4,6 +4,9 @@ ostree (2017.10-1) UNRELEASED; urgency=medium
- Update symbols file - Update symbols file
- Install new bash completions - Install new bash completions
* Use dh_missing --fail-missing instead of dh_install --fail-missing * 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 <smcv@debian.org> Tue, 29 Aug 2017 16:08:09 +0100 -- Simon McVittie <smcv@debian.org> Tue, 29 Aug 2017 16:08:09 +0100

5
debian/rules vendored
View File

@ -38,11 +38,14 @@ endif
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- $(configure_options) dh_auto_configure -- $(configure_options)
override_dh_auto_test: override_dh_auto_test-arch:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
debian/test.sh debian/test.sh
endif endif
override_dh_auto_test-indep:
:
override_dh_auto_install: override_dh_auto_install:
dh_auto_install dh_auto_install
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))