Skip to content

Commit

Permalink
Merge pull request #13 from revelytix/no-exit
Browse files Browse the repository at this point in the history
Don't call (exit 0) on successful completion
  • Loading branch information
r0man committed Aug 19, 2013
2 parents bcb1da6 + 3060ddb commit 64137ed
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lein_junit/core.clj
Expand Up @@ -117,7 +117,6 @@
(javac project)
(let [junit-task (apply extract-task project selectors)]
(.execute junit-task)
(if (or (.getProperty lancet/ant-project "lein-junit.errors")
(.getProperty lancet/ant-project "lein-junit.failures"))
(main/abort "JUnit tests failed.")
(main/exit 0))))
(when (or (.getProperty lancet/ant-project "lein-junit.errors")
(.getProperty lancet/ant-project "lein-junit.failures"))
(main/abort "JUnit tests failed."))))

0 comments on commit 64137ed

Please sign in to comment.