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.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21374 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2010-04-07 19:06:52 +00:00
parent 1acf079ea0
commit e6db5217a0
1 changed files with 8 additions and 0 deletions

View File

@ -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}" />