Commit 0cb5d21a authored by Andreas Tille's avatar Andreas Tille

Respect DEB_BUILD_OPTIONS in dh_auto_test

parent e720ea3d
......@@ -6,6 +6,7 @@ pbcopper (0.4.1-1) UNRELEASED; urgency=medium
* debhelper 11
* Point Vcs fields to salsa.debian.org
* Standards-Version: 4.2.0
* Respect DEB_BUILD_OPTIONS in dh_auto_test
-- Andreas Tille <tille@debian.org> Fri, 17 Aug 2018 14:44:00 +0200
......
......@@ -11,4 +11,6 @@ export DEB_CXXFLAGS_MAINT_APPEND=-fPIC
# debhelper's cmake action is to run `make test`, which won't work
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd build && $(MAKE) check
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment