aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-10-02 04:01:48 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-10-02 04:01:48 +0200
commitcd970993e80b57eceabc7a8d66805d48038e99ec (patch)
tree938dd4e986d3de6123b935a0cd256b91b3d9ec47 /build.xml
parent651fed920546b68fc7a6fc0c9e917edbfdd47983 (diff)
downloadlombok-cd970993e80b57eceabc7a8d66805d48038e99ec.tar.gz
lombok-cd970993e80b57eceabc7a8d66805d48038e99ec.tar.bz2
lombok-cd970993e80b57eceabc7a8d66805d48038e99ec.zip
[buildscript] addition of a test task that runs faster; don’t use it unless you know what you’re doing as it skips a few important steps.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index ce7736ab..8fbce893 100644
--- a/build.xml
+++ b/build.xml
@@ -680,7 +680,9 @@ You can also create your own by writing a 'testenvironment.properties' file. The
</fail>
</target>
- <target name="test" depends="-loadTestEnvironmentProperties, -failIfNoTestEnvironmentProperties, -test-compile, dist, test-ecj, -test-check, -test8, -test9" />
+ <target name="test" depends="-loadTestEnvironmentProperties, -failIfNoTestEnvironmentProperties, -test-compile, dist, test-ecj, -test-check, -test8, -test9" description="Runs all tests." />
+
+ <target name="testfast" depends="-loadTestEnvironmentProperties, -failIfNoTestEnvironmentProperties, -test-compile, -test-check, -test8, -test9" />
<target name="-test-check">
<condition property="test9.run">
@@ -697,7 +699,7 @@ You can also create your own by writing a 'testenvironment.properties' file. The
</condition>
</target>
- <target name="-test9" depends="-loadTestEnvironmentProperties, -failIfNoTestEnvironmentProperties, -test-compile, dist, test-ecj" if="test9.run">
+ <target name="-test9" if="test9.run">
<echo>Running test suite in JDK9+ mode</echo>
<junit haltonfailure="no" fork="true">
<jvmarg value="-javaagent:dist/lombok.jar" />
@@ -732,7 +734,7 @@ You can also create your own by writing a 'testenvironment.properties' file. The
</junit>
</target>
- <target name="-test8" depends="-loadTestEnvironmentProperties, -failIfNoTestEnvironmentProperties, -test-compile, dist, test-ecj" if="test8.run" description="Runs the tests.">
+ <target name="-test8" if="test8.run">
<echo>Running test suite in JDK6-8 mode</echo>
<junit haltonfailure="no" fork="true">
<jvmarg value="-javaagent:dist/lombok.jar" />