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