db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r365715 - in /db/ddlutils/trunk: build.properties build.xml
Date Tue, 03 Jan 2006 19:12:54 GMT
Author: mvdb
Date: Tue Jan  3 11:12:50 2006
New Revision: 365715

URL: http://svn.apache.org/viewcvs?rev=365715&view=rev
Log:
Tweak the build a little bit. Excluding 2 abstract test cases and start using profiles with
(for now) junit-axiondb. Will try to generalize things later.

Modified:
    db/ddlutils/trunk/build.properties
    db/ddlutils/trunk/build.xml

Modified: db/ddlutils/trunk/build.properties
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/build.properties?rev=365715&r1=365714&r2=365715&view=diff
==============================================================================
--- db/ddlutils/trunk/build.properties (original)
+++ db/ddlutils/trunk/build.properties Tue Jan  3 11:12:50 2006
@@ -39,6 +39,8 @@
 checkstyle.author.pattern=\\S
 checkstyle.license.file=${src.check.dir}/license-check.txt
 
+
+test.profile.directory=src/test-profiles
 #
 # Documentation properties
 #

Modified: db/ddlutils/trunk/build.xml
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/build.xml?rev=365715&r1=365714&r2=365715&view=diff
==============================================================================
--- db/ddlutils/trunk/build.xml (original)
+++ db/ddlutils/trunk/build.xml Tue Jan  3 11:12:50 2006
@@ -227,7 +227,14 @@
   <!-- ================================================================== -->
   <target name="junit-axion"
           description="Runs the test cases against axion">
-    <property name="jdbc.properties.file" value="/jdbc.properties.axion"/>
+  	<condition property="jdbc.properties.file" value="${test.profile.directory}/${profile}/jdbc.properties.axion">
+  		<isset property="profile"/>
+  	</condition>
+  	<condition property="jdbc.properties.file" value="/jdbc.properties.axion">
+  		<not>
+    		<isset property="jdbc.properties.file"/>
+  	    </not>
+  	</condition>
     <antcall target="-junit-internal"/>
   </target>
 
@@ -251,8 +258,10 @@
       <formatter type="plain"/>
       <classpath refid="compilation-classpath"/>
       <batchtest todir="${build.test.dir}">
-          <fileset dir="${src.test.dir}"
-                   includes="**/Test*.java"/>
+          <fileset dir="${src.test.dir}" includes="**/Test*.java">
+    	    <exclude name="**/TestDatabaseWriterBase.java"/>
+  	        <exclude name="**/TestPlatformBase.java"/>
+          </fileset>
       </batchtest>
     </junit>
   </target>



Mime
View raw message