From 1eefebc5a4b2cea7e4c5b0e5e4168f4f3bbb7991 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 29 Aug 2021 01:16:28 +0200 Subject: debian/rules: Enable unit tests with the new way. --- debian/rules | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 7c62e62..830b273 100755 --- a/debian/rules +++ b/debian/rules @@ -6,11 +6,16 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +DEB_CMAKE_EXTRA_FLAGS = \ + -DENABLE_TESTS=ON \ + -DENABLE_COVERAGE=OFF \ + $(NULL) + %: dh $@ --with systemd override_dh_auto_configure: - dh_auto_configure -- -DENABLE_TESTS=ON + dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) override_dh_install: find debian/ayatana-indicator-session/usr/lib -name *.la -delete -- cgit v1.2.3