aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:28:44 +0200
committerRobert Tari <robert@tari.in>2021-09-09 01:45:02 +0200
commit55d51dbb9c01c63704d2fbfca33e33b6eeec09bd (patch)
tree7e020d8e6564d6f1f52d8a12b5bd4bbfa90b922a
parent5e12d8503ac40ea938e0f30d82a6e19093021dd2 (diff)
downloadqmenumodel-55d51dbb9c01c63704d2fbfca33e33b6eeec09bd.tar.gz
qmenumodel-55d51dbb9c01c63704d2fbfca33e33b6eeec09bd.tar.bz2
qmenumodel-55d51dbb9c01c63704d2fbfca33e33b6eeec09bd.zip
debian/rules: Enable unit tests.
-rwxr-xr-xdebian/rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index b077472..fcbfa68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,18 @@
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
+DEB_CMAKE_EXTRA_FLAGS = \
+ -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \
+ -DENABLE_TESTS=ON \
+ -DENABLE_COVERAGE=OFF \
+ $(NULL)
+
%:
dh $@ --parallel
+override_dh_auto_configure:
+ dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
+
override_dh_makeshlibs:
dh_makeshlibs -Xlibqmenumodel-qml.so