summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Dipert <alan@dipert.org>2011-01-23 15:33:15 -0500
committerStuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>2011-02-25 14:27:15 -0500
commite91f855f098655a229b0de081b14f5be7c92651e (patch)
tree7c085ff6fff379660d3207a4845e49553af3cdb3
parent004e088ab9364c77c91d09788a62365695f843c3 (diff)
CLJ-711 skip test and compile-test when maven.test.skip
Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
-rw-r--r--build.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 872c03ce..01896831 100644
--- a/build.xml
+++ b/build.xml
@@ -73,7 +73,8 @@
</target>
<target name="compile-tests"
- description="Compile the subset of tests that require compilation.">
+ description="Compile the subset of tests that require compilation."
+ unless="maven.test.skip">
<delete dir="${test-classes}"/>
<mkdir dir="${test-classes}"/>
<java classname="clojure.lang.Compile"
@@ -88,7 +89,8 @@
<target name="test"
description="Run clojure tests without recompiling clojure."
- depends="compile-tests">
+ depends="compile-tests"
+ unless="maven.test.skip">
<java classname="clojure.main" failonerror="true" fork="true">
<classpath>
<path location="${test-classes}"/>