diff options
author | Som Snytt <som.snytt@gmail.com> | 2013-11-22 12:21:31 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2013-11-23 00:33:36 -0800 |
commit | 342b05b849e69b4db8e10acbeea4953d37f2d2bc (patch) | |
tree | c659a431319e7f64a468f934dec716d8a6a6a939 /build.xml | |
parent | ad5fa95d55096e498c461471528d957ffc82706c (diff) | |
download | scala-342b05b849e69b4db8e10acbeea4953d37f2d2bc.tar.gz scala-342b05b849e69b4db8e10acbeea4953d37f2d2bc.tar.bz2 scala-342b05b849e69b4db8e10acbeea4953d37f2d2bc.zip |
Test in quick mode for ant build
Add a target `test.suite.quick`.
Let test.quick depend only on init and quick.done,
and load the task using the quick path (with non-core deps).
Diffstat (limited to 'build.xml')
-rwxr-xr-x | build.xml | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -920,9 +920,15 @@ TODO: Why, the compiler we're testing, of course, and partest with all its dependencies. --> <path id="partest.compilation.path"> + <path refid="partest.compilation.path.core"/> + <path refid="partest.compilation.path.noncore"/> + </path> + <path id="partest.compilation.path.core"> <pathelement location="${library.jar}"/> <pathelement location="${reflect.jar}"/> <pathelement location="${compiler.jar}"/> + </path> + <path id="partest.compilation.path.noncore"> <!-- TODO modularize compiler <pathelement location="${scaladoc.jar}"/> @@ -1892,6 +1898,17 @@ TODO: <testSuite colors="8" kinds="pos neg run jvm res scalap scalacheck specialized instrumented"/> </target> + <target name="test.suite.quick" depends="init, quick.done"> + <path id="test.suite.path"> + <path refid="quick.bin.tool.path"/> + <path refid="quick.interactive.build.path"/> + <path refid="partest.compilation.path.noncore"/> + </path> + <property name="pcp" value="${toString:test.suite.path}"/> + <taskdef classpathref="test.suite.path" resource="scala/tools/partest/antlib.xml"/> + <testSuite colors="8" kinds="pos neg run jvm res scalap scalacheck specialized instrumented" pcp="${pcp}"/> + </target> + <target name="test.run" depends="test.suite.init"> <testSuite kinds="run jvm"/> </target> |