[potemkin-clojure] 01/02: Properly run tests

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Mon Sep 11 19:13:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository potemkin-clojure.

commit d55cd1d62a3a90be874ea509ef3b6b61319b994c
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Mon Sep 11 22:04:28 2017 +0300

    Properly run tests
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 1617c99..51606c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,8 +25,9 @@ override_jh_clean:
 
 override_dh_auto_test:
 	dh_auto_test
-	(cd test && \
-		find . -name "*.clj" | xargs clojure -cp $(CURDIR)/$(PRODUCED_JAR):$(CLASSPATH))
+	(cd test && for test in macros namespaces types; do \
+	    echo $$test; \
+	    clojure -cp $(CURDIR)/$(PRODUCED_JAR):$(CLASSPATH):. potemkin/$${test}_test.clj; done)
 
 get-orig-source:
 	uscan --download-version $(DEB_VERSION_UPSTREAM) --force-download --rename

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/potemkin-clojure.git



More information about the pkg-java-commits mailing list