#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Tests require a local HTTP server (RFC 3161 TSA + CRL distribution)
# which cannot stay reachable in the build environment; skip them.
export DEB_BUILD_OPTIONS := $(DEB_BUILD_OPTIONS) nocheck

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cd obj-*/ && ctest -C Release -V
endif
