Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only shutdown agents in JVMs 1.6+.

  • Loading branch information...
commit 59526b5dc863d596f0a43a6265a9ebdc6f6d4432 1 parent 176c2cd
@technomancy authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/leiningen/test.clj
View
3  src/leiningen/test.clj
@@ -21,7 +21,8 @@ each namespace and print an overall summary."
(clojure.test/with-test-out
(println "\n\n--------------------\nTotal:")
(clojure.test/report summary#))
- (shutdown-agents))))
+ (when-not (= "1.5" (System/getProperty "java.specification.version"))
+ (shutdown-agents)))))
(defn test
"Run the project's tests. Accept a list of namespaces for which to run all
Please sign in to comment.
Something went wrong with that request. Please try again.