Skip build-time tests when nocheck is in DEB_BUILD_OPTIONS

Bug-Debian: https://bugs.debian.org/862803
Thanks: Krzesimir Nowak
This commit is contained in:
Simon McVittie 2017-05-25 10:00:04 +01:00
parent 86aec54abc
commit 9076a0140d
2 changed files with 4 additions and 0 deletions

2
debian/changelog vendored
View File

@ -4,6 +4,8 @@ ostree (2017.6-1) UNRELEASED; urgency=medium
- Update debian/copyright - Update debian/copyright
- Update disabled ostree-boot packaging for new systemd generator - Update disabled ostree-boot packaging for new systemd generator
- Add new ABI to symbols file - 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 <smcv@debian.org> Wed, 24 May 2017 20:50:51 +0100 -- Simon McVittie <smcv@debian.org> Wed, 24 May 2017 20:50:51 +0100

2
debian/rules vendored
View File

@ -29,7 +29,9 @@ override_dh_auto_configure:
$(NULL) $(NULL)
override_dh_auto_test: override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
debian/test.sh debian/test.sh
endif
override_dh_auto_install: override_dh_auto_install:
dh_auto_install dh_auto_install