summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-04-12 21:36:33 +0000
committerPaul Phillips <paulp@improving.org>2010-04-12 21:36:33 +0000
commit7015c96b21d4d5ae7f5bdd9f921bbf0aeef9856c (patch)
tree102023fb372eff8ae726320f7108fe2f3071f5f2 /build.xml
parentbeee01e9ec6c650a7ebf17489f97896f6d3d119f (diff)
downloadscala-7015c96b21d4d5ae7f5bdd9f921bbf0aeef9856c.tar.gz
scala-7015c96b21d4d5ae7f5bdd9f921bbf0aeef9856c.tar.bz2
scala-7015c96b21d4d5ae7f5bdd9f921bbf0aeef9856c.zip
Still working on partest.
temporary if considered clutter. ant test.partest ant test.partest-opt They run some recently troublesome partest tests with a low timeout. Logged some more exceptions where the compiler has been dying. Review by phaller.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index d59863277b..8471c62906 100644
--- a/build.xml
+++ b/build.xml
@@ -1520,6 +1520,29 @@ BOOTRAPING TEST AND TEST SUITE
</syspropertyset>
</partest>
</target>
+
+ <target name="test.partest-opt" depends="pack.done">
+ <antcall target="test.partest">
+ <param name="scalac.args.optimise" value="-optimise"/>
+ </antcall>
+ </target>
+
+ <target name="test.partest" depends="pack.done">
+ <partest classpathref="pack.classpath">
+ <env key="PATH" path="${build-pack.dir}/bin:${env.PATH}" />
+ <sysproperty key="partest.srcdir" value="partest-tests" />
+ <sysproperty key="partest.scalacopts" value="${scalac.args.all}" />
+ <sysproperty key="partest.javacopts" value="${javac.args}" />
+ <sysproperty key="partest.verbose" value="true" />
+ <sysproperty key="partest.trace" value="true" />
+ <sysproperty key="partest.debug" value="true" />
+ <sysproperty key="partest.test-timeout" value="25" />
+ <sysproperty key="partest.scalacopts" value="${scalac.args.optimise}" />
+ <syspropertyset>
+ <propertyref prefix="partest"/>
+ </syspropertyset>
+ </partest>
+ </target>
<target name="test.done" depends="test.suite, test.continuations.suite, test.stability"/>