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:
parent
1acf079ea0
commit
e6db5217a0
|
@ -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}" />
|
||||
|
|
Loading…
Reference in New Issue