Check $DEB_BUILD_OPTIONS and $DEB_BUILD_PROFILES in override_dh_auto_test
Fixes lintian warning override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS.
This commit is contained in:
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -25,6 +25,8 @@ xen-tools (4.8-1) UNRELEASED; urgency=medium
|
||||
Ubuntu 16.04 LTS with backports.
|
||||
* Declare compliance with Debian Policy 4.3.0. (No changes needed.)
|
||||
* Set "Rules-Requires-Root: no".
|
||||
* Check $DEB_BUILD_OPTIONS and $DEB_BUILD_PROFILES in
|
||||
override_dh_auto_test. Fixes according lintian warning.
|
||||
|
||||
[ Jelmer Vernooij ]
|
||||
* Trim trailing whitespace from debian/changelog. (GH #54)
|
||||
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@@ -6,7 +6,9 @@
|
||||
dh $@
|
||||
|
||||
override_dh_auto_test:
|
||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
|
||||
$(MAKE) non-author-test
|
||||
endif
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs NEWS.markdown
|
||||
|
||||
Reference in New Issue
Block a user