Skip to content

Apache Lucene open-source search software

LUCENE-3989: correcting depends for other tasks that deal with execution hints. Nuked sha1 target as it's available in the top build.

Dawid Weissf33e259b8434
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 319731da7ba..e8ba31620a2 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -613,7 +613,7 @@
</sequential>
</macrodef>
- <target name="test-updatecache" description="Overwrite tests' timings cache for balancing." depends="init">
+ <target name="test-updatecache" description="Overwrite tests' timings cache for balancing." depends="install-junit4-taskdef">
<mergehints file="${common.dir}/tools/junit4/cached-timehints.txt">
<resources>
<!-- The order is important. Include previous stats first, then append new stats. -->
@@ -819,7 +819,7 @@
</sequential>
</macrodef>
- <target name="test-times" description="Show the slowest tests (averages)." depends="init">
+ <target name="test-times" description="Show the slowest tests (averages)." depends="install-junit4-taskdef">
<property name="max" value="10" />
<echo>Showing ${max} slowest tests according to local stats. (change with -Dmax=...).</echo>
<tophints max="${max}">
@@ -936,14 +936,6 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
<test-macro threadNum="${tests.threadspercpu}" />
</target>
- <target name="refresh-checksums">
- <checksum algorithm="SHA1">
- <fileset dir="${basedir}">
- <include name="**/*.jar"/>
- </fileset>
- </checksum>
- </target>
-
<!--
If you want clover test code coverage, run this before the tests. You need clover.jar and the license in your ANT classspath and you need to specify -Drun.clover=true on the command line.