From fa0b50e747e8be0b3ac17367efdf11b8c8f3fcd5 Mon Sep 17 00:00:00 2001 From: Nicholas Guriev Date: Sat, 24 Apr 2021 23:10:31 +0300 Subject: debian/rules: Run tests while building DEB package. --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 37eb8b7..0a1b6f7 100755 --- a/debian/rules +++ b/debian/rules @@ -5,8 +5,10 @@ LDFLAGS += -Wl,-z,defs -Wl,--as-needed %: dh $@ --with systemd +ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_configure: dh_auto_configure -- -Denable_tests=OFF +endif override_dh_install: dh_install --fail-missing -- cgit v1.2.3 From fa557f1f5d124d583d4241b72f440a09b6714fc4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 27 Apr 2021 22:46:24 +0200 Subject: debian/rules: Adjust previous commit to renamed ENABLE_TESTS build option. --- debian/rules | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 0a1b6f7..96adb33 100755 --- a/debian/rules +++ b/debian/rules @@ -5,12 +5,10 @@ LDFLAGS += -Wl,-z,defs -Wl,--as-needed %: dh $@ --with systemd -ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_configure: - dh_auto_configure -- -Denable_tests=OFF + dh_auto_configure -- -DENABLE_TESTS=ON endif override_dh_install: dh_install --fail-missing - - -- cgit v1.2.3