From 28dd0e97dc155283c2ccf2afae5787d62e43a192 Mon Sep 17 00:00:00 2001 From: Jeremy Bicha Date: Wed, 14 Jun 2017 15:01:22 -0400 Subject: Enable build tests --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index a224a16a..18da9eaa 100755 --- a/debian/rules +++ b/debian/rules @@ -35,6 +35,7 @@ override_dh_auto_configure: --with-nmtui \ --with-nmcli \ --with-selinux \ + --with-tests \ --with-libaudit \ --without-dhcpcanon \ --enable-polkit \ @@ -75,3 +76,8 @@ override_dh_systemd_start: override_dh_ppp: dh_ppp --breaks + +override_dh_auto_test: +ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS))) + make check || ( find . -name test-suite.log -exec cat {} \;; exit 1; ) +endif -- cgit 1.3.0-6-gf8a5