1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# tests fail on 32-bit / BE
testsuite_failing_archs := armel armhf i386 s390x
ifneq (,$(filter $(DEB_HOST_ARCH),$(testsuite_failing_archs)))
fail_param := || true
endif
%:
dh $@ --with kf5
execute_before_dh_auto_build:
# force generation of version.h, to avoid races later on
dh_auto_build --no-parallel -- UpdateVersion
override_dh_auto_test:
xvfb-run -a --server-args="-screen 0 1024x768x24+32" dh_auto_test --buildsystem=kf6 $(fail_param)
|