summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-04-07 19:06:52 +0000
committerPaul Phillips <paulp@improving.org>2010-04-07 19:06:52 +0000
commit1b098c643a8df4cdb5e6d0fd84619575ed830266 (patch)
tree80c25c19adc22e74e608b99c4fd3fe4382e9d566 /build.xml
parent82eb13cc0866896490432bb2c1f9a106f68c7aee (diff)
downloadscala-1b098c643a8df4cdb5e6d0fd84619575ed830266.tar.gz
scala-1b098c643a8df4cdb5e6d0fd84619575ed830266.tar.bz2
scala-1b098c643a8df4cdb5e6d0fd84619575ed830266.zip
Created a test.suite.clean.checkinit ant target...
Created a test.suite.clean.checkinit ant target which: runs ant all.clean builds with -Xcheckinit runs the test suite with -Xcheckinit Review by cunei? If the nightly is trying to do the above sequence with command line options, I suggest it be changed to run this target or a similar one so the logic is not separated from the buildfile.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index efaa1941da..e3f41a098d 100644
--- a/build.xml
+++ b/build.xml
@@ -1504,6 +1504,14 @@ BOOTRAPING TEST AND TEST SUITE
</same>
</target>
+ <target name="test.suite.clean.checkinit">
+ <antcall target="all.clean" />
+ <antcall target="test.suite" inheritAll="false">
+ <param name="scalac.args.optimise" value="-Xcheckinit" />
+ <param name="partest.scalacopts" value="-Xcheckinit" />
+ </antcall>
+ </target>
+
<target name="test.suite" depends="pack.done">
<partest classpathref="pack.classpath">
<env key="PATH" path="${build-pack.dir}/bin:${env.PATH}" />