1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/usr/bin/make -f
# -*- makefile -*-
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# positioncodectest fails on big endian architectures
ifeq (big,$(DEB_HOST_ARCH_ENDIAN))
fail_param := || true
endif
# general failures not related to endianness
testsuite_failing_archs := \
armhf \
loong64 \
riscv64 \
ifneq (,$(filter $(DEB_HOST_ARCH),$(testsuite_failing_archs)))
fail_param := || true
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- -DBUILD_QCH=ON
override_dh_auto_test:
- dbus-run-session -- dh_auto_test --buildsystem=kf6 $(fail_param)
|