Permalink
Browse files

Only shutdown agents in JVMs 1.6+.

  • Loading branch information...
1 parent 176c2cd commit 59526b5dc863d596f0a43a6265a9ebdc6f6d4432 @technomancy committed Feb 13, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/leiningen/test.clj
View
@@ -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

0 comments on commit 59526b5

Please sign in to comment.