Skip to content

Commit 85f0818

Browse files
committed
debian/rules: run runtests by default
which can be disabled like: DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage Signed-off-by: Kefu Chai <[email protected]>
1 parent ca01d5c commit 85f0818

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

debian/rules

+5
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ override_dh_auto_configure:
2121
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
2222
--libdevdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
2323
--cc=$(CC)
24+
25+
override_dh_auto_test:
26+
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
27+
$(MAKE) runtests
28+
endif

0 commit comments

Comments
 (0)