mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 00:17:45 +00:00
Test script fixes
This commit is contained in:
1 parent
e453c22de0
commit
b3a55b0c6c
2 files changed
+7
-5
No files matched your search
@@ -108,7 +108,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
|
||||
</target>
|
||||
|
||||
<target name="ensureTestDeps" depends="config-ivy">
|
||||
<ivy:resolve file="buildScripts/ivy.xml" refresh="true" conf="test" />
|
||||
<ivy:resolve file="buildScripts/ivy.xml" refresh="true" conf="test, javac6" />
|
||||
<ivy:retrieve />
|
||||
</target>
|
||||
|
||||
@@ -321,10 +321,11 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
|
||||
</target>
|
||||
|
||||
<target name="test" depends="-test-compile, dist, test-ecj" unless="tests.skip" description="Runs the tests.">
|
||||
<junit haltonfailure="yes" fork="on">
|
||||
<junit haltonfailure="yes" fork="true">
|
||||
<jvmarg value="-javaagent:dist/lombok.jar" />
|
||||
<formatter type="plain" usefile="false" unless="tests.quiet" />
|
||||
<classpath refid="test.path" />
|
||||
<classpath path="lib/javac6/javac6.jar" />
|
||||
<classpath path="build/lombok" />
|
||||
<classpath path="build/tests" />
|
||||
<batchtest>
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
<configurations>
|
||||
<conf name="eclipseBuild" />
|
||||
<conf name="netbeansBuild" />
|
||||
<conf name="build" extends="eclipseBuild, netbeansBuild" />
|
||||
<conf name="build" extends="eclipseBuild, netbeansBuild, javac6" />
|
||||
<conf name="runtime" />
|
||||
<conf name="test" extends="build, runtime" />
|
||||
<conf name="test" extends="runtime" />
|
||||
<conf name="contrib" />
|
||||
<conf name="ecj" />
|
||||
<conf name="javac6" />
|
||||
<conf name="javac7" />
|
||||
</configurations>
|
||||
<dependencies>
|
||||
@@ -28,7 +29,7 @@
|
||||
<dependency org="projectlombok.org" name="markdownj" rev="1.02b4" conf="build" />
|
||||
<dependency org="de.java2html" name="java2html" rev="5.0" conf="build->default" />
|
||||
|
||||
<dependency org="net.java.openjdk.custom" name="javac6" rev="1.6.0.18" conf="build->runtime; contrib->sources" />
|
||||
<dependency org="net.java.openjdk.custom" name="javac6" rev="1.6.0.18" conf="javac6->runtime; contrib->sources" />
|
||||
<dependency org="net.java.openjdk.custom" name="javac7" rev="1.7.0" conf="javac7->runtime; contrib->sources" />
|
||||
<dependency org="org.eclipse.custom" name="ecj" rev="3.6.2" conf="ecj->default; contrib->sources" />
|
||||
|
||||
|
||||
Reference in new issue
Block a user