Don't try to System/exit from within eval-in-project. It doesn't work.

This commit is contained in:
Phil Hagelberg 2010-01-21 00:26:39 -08:00
parent b3232350e2
commit f3a097d958

View file

@ -29,5 +29,8 @@ tests for. If none are given, runs them all."
{} '~namespaces)]
(with-test-out
(println "\n\n--------------------\nTotal:")
(report summary#))
(System/exit (if (successful? summary#) 0 1)))))))
(report summary#)
(System/setProperty "leiningen.test" (str false)
;; (successful? summary#)
)))))
(println (System/getProperty "leiningen.test"))))