#! /usr/bin/make -f

include /usr/share/dune/dune-debian.mk
include /usr/share/dune/dune-debian-python.mk

# We have failing tests on s390x. We think the code is actually buggy
# and deactivate the test..
ifneq (,$(filter $(DEB_HOST_ARCH), s390x))
    DUNE_CTEST_OPTIONS += -E test-quadrature
endif

%:
	dh $@ --builddirectory=build --buildsystem=cmake

override_dh_auto_test-arch:
	$(DUNE_DEBIAN_AUTO_TEST)

# The indep build only ships the documentation; the tests are run by the
# arch build.
override_dh_auto_test-indep:
