lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r169862 - in /lucene/java/trunk: build.xml common-build.xml
Date Thu, 12 May 2005 18:11:05 GMT
Author: cutting
Date: Thu May 12 11:11:04 2005
New Revision: 169862

URL: http://svn.apache.org/viewcvs?rev=169862&view=rev
Log:
Fix build to not complain about non-test tests.

Modified:
    lucene/java/trunk/build.xml
    lucene/java/trunk/common-build.xml

Modified: lucene/java/trunk/build.xml
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/build.xml?rev=169862&r1=169861&r2=169862&view=diff
==============================================================================
--- lucene/java/trunk/build.xml (original)
+++ lucene/java/trunk/build.xml Thu May 12 11:11:04 2005
@@ -2,6 +2,7 @@
 
 <project name="core" default="default" basedir=".">
 
+  <property name="junit.includes" value="**/Test*.java"/>
 
   <import file="common-build.xml"/>
 
@@ -391,6 +392,10 @@
 
   <target name="build-contrib" depends="compile-test">
     <contrib-crawl/>
+  </target>
+
+  <target name="test-contrib" depends="compile-test">
+    <contrib-crawl target="test"/>
   </target>
 
   <macrodef name="invoke-javadoc">

Modified: lucene/java/trunk/common-build.xml
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/common-build.xml?rev=169862&r1=169861&r2=169862&view=diff
==============================================================================
--- lucene/java/trunk/common-build.xml (original)
+++ lucene/java/trunk/common-build.xml Thu May 12 11:11:04 2005
@@ -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"/>



Mime
View raw message