diff --git a/debian/changelog b/debian/changelog index adaf6cf34de8bb2ec5476b305331bcab5d2f9b04..68dcf741638c396a0b91bc1415e545f6c47c7e2a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ compojure-clojure (1.6.0-2) UNRELEASED; urgency=normal [ Andreas Tille ] * Fix watch file + * d/rules: check DEB_BUILD_OPTIONS against nocheck -- Louis-Philippe Véronneau <pollo@debian.org> Sat, 08 Jan 2022 17:53:52 -0500 diff --git a/debian/rules b/debian/rules index 4aed610ef55300791753e7634df2d0badcf5d7ba..9d866a87ed75f6a8b874f9a473c3045d4b25f91e 100755 --- a/debian/rules +++ b/debian/rules @@ -33,6 +33,8 @@ override_dh_installdocs: dh_installdocs -XHISTORY override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) dh_auto_test (cd test && find . -name "*.clj" | \ xargs clojure -cp $(CURDIR)/$(PRODUCED_JAR):$(CLASSPATH):$(TEST_CLASSPATH)) +endif