Codebase list seer / 07ff7c8
Respect DEB_BUILD_OPTIONS in override_dh_auto_test Andreas Tille 5 years ago
2 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
22 * debhelper 11
33 * Point Vcs fields to salsa.debian.org
44 * Standards-Version: 4.2.1
5 * Do not parse d/changelog
5 * d/rules:
6 - Do not parse d/changelog
7 - Respect DEB_BUILD_OPTIONS in override_dh_auto_test
68
79 -- Andreas Tille <tille@debian.org> Thu, 11 Oct 2018 16:22:27 +0200
810
00 #!/usr/bin/make -f
11
22 # DH_VERBOSE := 1
3 DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
43
4 include /usr/share/dpkg/default.mk
55 include /usr/share/dpkg/architecture.mk
66 export CPATH := /usr/include/hdf5/serial
77 export LIBRARY_PATH := /usr/lib/$(DEB_TARGET_MULTIARCH)/hdf5/serial
8
9 include /usr/share/dpkg/default.mk
108
119 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
1210
2523 dh $@
2624
2725 override_dh_auto_test:
26 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
2827 if dh_auto_test ; then echo Test passed ; else echo '****************************** TEST FAILED. Please contact upstream *******************************' ; fi
28 endif