Skip to content

Apache Lucene open-source search software

fix top-level compile-test to compile core tests as advertised

Robert Muir01c4d4ada92d
diff --git a/lucene/build.xml b/lucene/build.xml
index aa65d12288d..afb12c26175 100644
--- a/lucene/build.xml
+++ b/lucene/build.xml
@@ -411,9 +411,13 @@
<modules-crawl target="build-artifacts-and-tests"/>
</target>
- <target name="compile-test" depends="compile-lucene-core,compile-test-framework"
- description="Builds core, test-framework, and modules tests">
- <modules-crawl target="compile-test" failonerror="true"/>
+ <target name="compile-test" description="Builds core, test-framework, and modules tests">
+ <sequential>
+ <ant dir="core" target="compile-test" inheritall="false">
+ <propertyset refid="uptodate.and.compiled.properties"/>
+ </ant>
+ <modules-crawl target="compile-test" failonerror="true"/>
+ </sequential>
</target>
<target name="test-modules" depends="compile-test">