incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 9951 - incubator/depot/trunk/version
Date Fri, 09 Apr 2004 19:14:36 GMT
Author: ajack
Date: Fri Apr  9 12:14:35 2004
New Revision: 9951

Modified:
   incubator/depot/trunk/version/build.xml
Log:
Same changes to version, to do some testing.


Modified: incubator/depot/trunk/version/build.xml
==============================================================================
--- incubator/depot/trunk/version/build.xml	(original)
+++ incubator/depot/trunk/version/build.xml	Fri Apr  9 12:14:35 2004
@@ -13,7 +13,7 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 -->
-<project name="depot-version" default="compile" basedir=".">
+<project name="depot-version" default="test" basedir=".">
 
 <!-- ========== Properties: Property Files  =============================== -->
 
@@ -56,11 +56,6 @@
   <property name="docs.home"               value="docs"/>
 
 
-<!-- ========== Properties: Test Configuration ============================ -->
-
-  <!-- The base directory for unit test sources -->
-  <property name="test.home"               value="src/test"/>
-
 
 <!-- ========== Properties: Destination Directories ======================= -->
 
@@ -70,6 +65,13 @@
   <!-- The base directory for distribution targets -->
   <property name="dist.home"               value="dist"/>
 
+<!-- ========== Properties: Test Configuration ============================ -->
+
+  <!-- The base directory for unit test sources -->
+  <property name="test.home"               value="src/test"/>
+  <property name="test.src.dir"				value="${test.home}" />
+  <property name="test.output.dir"				value="${build.home}/tests" />
+  
 <!-- ========== Compiler Defaults ========================================= -->
 
   <!-- Should Java compilations set the 'debug' compiler option? -->
@@ -115,12 +117,7 @@
 
   <!-- The root test to execute -->
   <property name="test.runner"         value="junit.textui.TestRunner"/>
-<!--  
-  <property name="test.entry"          value="org.apache.commons.httpclient.TestAll"/>
-  <property name="test-local.entry"    value="org.apache.commons.httpclient.TestAllLocal"/>
-  <property name="test-external.entry" value="org.apache.commons.httpclient.TestAllExternal"/>
-  <property name="test-nohost.entry"   value="org.apache.commons.httpclient.TestNoHost"/>
--->
+
 <!-- ========== Targets =================================================== -->
 
 <!-- ========== Targets: "Internal" Targets =============================== -->
@@ -277,7 +274,7 @@
 
 <!-- ========== Targets: "External" Targets: Testing ====================== -->
 
-  <target name="test" depends="compile.tests" if="test.entry"
+  <target name="test" depends="compile.tests"
           description="Run all unit test cases">
 		<junit printsummary="on" fork="true" dir="." showoutput="false" 
 			haltonfailure="${test.failonerror}">

Mime
View raw message