LUCENE-5283: Fixup to prevent permgens, removed leftover junk (thx Uwe).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1539475 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2013-11-06 22:00:42 +00:00
parent 40d289fdff
commit ffb8574ab4
2 changed files with 3 additions and 4 deletions

View File

@ -268,7 +268,7 @@ Changes in backwards compatibility policy
Build
* LUCENE-5283: Fail the build if ant test didn't execute any tests
(everything filtered out). (Dawid Weiss)
(everything filtered out). (Dawid Weiss, Uwe Schindler)
* LUCENE-5249, LUCENE-5257: All Lucene/Solr modules should use the same
dependency versions. (Steve Rowe)

View File

@ -1273,8 +1273,6 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
<target name="-check-totals" if="tests.totals.toplevel" depends="resolve-groovy">
<!-- We are concluding a test pass at the outermost level. Sum up all executed tests. -->
<local name="tests.totals.content" />
<loadfile srcFile="${tests.totals.tmpfile}" encoding="UTF-8" property="tests.totals.content" quiet="true" />
<groovy><![CDATA[
total = 0;
statsFile = new File(project.getProperty("tests.totals.tmpfile"));
@ -1294,7 +1292,8 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
]]></groovy>
</target>
<target name="-init-totals" unless="tests.totals.tmpfile">
<!-- The groovy dependency is wanted: this is done early before any test or any other submodule is ran, to prevent permgen errors! -->
<target name="-init-totals" unless="tests.totals.tmpfile" depends="resolve-groovy">
<mkdir dir="${build.dir}" />
<tempfile property="tests.totals.tmpfile"
destdir="${build.dir}"