Skip to content
Snippets Groups Projects
Commit 13e8ddf2 authored by Andreas Tille's avatar Andreas Tille
Browse files

d/rules: check DEB_BUILD_OPTIONS against nocheck

parent bb5dd0c0
Branches
Tags
No related merge requests found
......@@ -7,6 +7,7 @@ java-jmx-clojure (0.3.4-2) UNRELEASED; urgency=medium
[ Andreas Tille ]
* Build-Depends: s/default-jdk/default-jdk-headless/
* d/rules: check DEB_BUILD_OPTIONS against nocheck
-- Louis-Philippe Véronneau <pollo@debian.org> Sat, 08 Jan 2022 18:33:09 -0500
......
......@@ -17,9 +17,11 @@ override_jh_build: $(MDWN_DOCS)
mkdir -p $(CURDIR)/doc/html && mv $^ $(CURDIR)/doc/html
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_test
(cd src/test/clojure && \
find . -name "test_*.clj" | xargs clojure -cp $(CURDIR)/$(PRODUCED_JAR))
endif
override_jh_classpath:
jh_classpath $(PRODUCED_JAR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment