summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-11-25 14:32:09 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-11-25 14:32:09 -0800
commit247828ed0dfb7daedf60dafb7413537c788848a0 (patch)
tree2d6f0e21870c2991d0614b03a9def81d183bee98 /build.xml
parent744425aab4f67805996388ea8620e81d1e4224b0 (diff)
parent342b05b849e69b4db8e10acbeea4953d37f2d2bc (diff)
downloadscala-247828ed0dfb7daedf60dafb7413537c788848a0.tar.gz
scala-247828ed0dfb7daedf60dafb7413537c788848a0.tar.bz2
scala-247828ed0dfb7daedf60dafb7413537c788848a0.zip
Merge pull request #3187 from som-snytt/issue/test-suite-quick
Test in quick mode for ant build
Diffstat (limited to 'build.xml')
-rwxr-xr-xbuild.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 4afc6493fb..545d17ef58 100755
--- a/build.xml
+++ b/build.xml
@@ -921,9 +921,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}"/>
@@ -1893,6 +1899,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>