mirror of https://github.com/apache/lucene.git
Fix build to not complain about non-test tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
01947641d5
commit
f337d12a26
|
@ -2,6 +2,7 @@
|
|||
|
||||
<project name="core" default="default" basedir=".">
|
||||
|
||||
<property name="junit.includes" value="**/Test*.java"/>
|
||||
|
||||
<import file="common-build.xml"/>
|
||||
|
||||
|
@ -393,6 +394,10 @@
|
|||
<contrib-crawl/>
|
||||
</target>
|
||||
|
||||
<target name="test-contrib" depends="compile-test">
|
||||
<contrib-crawl target="test"/>
|
||||
</target>
|
||||
|
||||
<macrodef name="invoke-javadoc">
|
||||
<attribute name="access"/>
|
||||
<attribute name="destdir"/>
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
<property name="junit.output.dir" location="${build.dir}/test"/>
|
||||
<property name="junit.reports" location="${build.dir}/test/reports"/>
|
||||
|
||||
<property name="junit.includes" value="**/Test*.java,**/*Test.java"/>
|
||||
|
||||
<available
|
||||
property="javacc.present"
|
||||
|
@ -178,8 +178,7 @@
|
|||
<formatter type="xml"/>
|
||||
<formatter type="brief" usefile="false"/>
|
||||
<batchtest fork="yes" todir="${junit.output.dir}" unless="testcase">
|
||||
<fileset dir="src/test" includes="**/Test*.java"/>
|
||||
<fileset dir="src/test" includes="**/*Test.java"/>
|
||||
<fileset dir="src/test" includes="${junit.includes}"/>
|
||||
</batchtest>
|
||||
<batchtest fork="yes" todir="${junit.output.dir}" if="testcase">
|
||||
<fileset dir="src/test" includes="**/${testcase}.java"/>
|
||||
|
|
Loading…
Reference in New Issue