From 3538d6fc9f738c1fb1cea05b6f32565e03ec3eff Mon Sep 17 00:00:00 2001 From: Andreas Tille <tille@debian.org> Date: Wed, 19 Feb 2025 07:55:59 +0100 Subject: [PATCH] d/rules: check DEB_BUILD_OPTIONS against nocheck --- debian/changelog | 1 + debian/rules | 2 ++ 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index adaf6cf..68dcf74 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 4aed610..9d866a8 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 -- GitLab