Respect DEB_BUILD_OPTIONS in override_dh_auto_test
Andreas Tille
5 years ago
2 | 2 |
* debhelper 11
|
3 | 3 |
* Point Vcs fields to salsa.debian.org
|
4 | 4 |
* 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
|
6 | 8 |
|
7 | 9 |
-- Andreas Tille <tille@debian.org> Thu, 11 Oct 2018 16:22:27 +0200
|
8 | 10 |
|
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
|
2 | 2 |
# DH_VERBOSE := 1
|
3 | |
DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
|
4 | 3 |
|
|
4 |
include /usr/share/dpkg/default.mk
|
5 | 5 |
include /usr/share/dpkg/architecture.mk
|
6 | 6 |
export CPATH := /usr/include/hdf5/serial
|
7 | 7 |
export LIBRARY_PATH := /usr/lib/$(DEB_TARGET_MULTIARCH)/hdf5/serial
|
8 | |
|
9 | |
include /usr/share/dpkg/default.mk
|
10 | 8 |
|
11 | 9 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
12 | 10 |
|
|
25 | 23 |
dh $@
|
26 | 24 |
|
27 | 25 |
override_dh_auto_test:
|
|
26 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
28 | 27 |
if dh_auto_test ; then echo Test passed ; else echo '****************************** TEST FAILED. Please contact upstream *******************************' ; fi
|
|
28 |
endif⏎
|