vgritsenko 2003/08/08 17:59:33
Modified: . build.xml
Log:
Give each test own database
Revision Changes Path
1.58 +9 -1 xml-xindice/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xindice/build.xml,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- build.xml 8 Aug 2003 23:03:26 -0000 1.57
+++ build.xml 9 Aug 2003 00:59:33 -0000 1.58
@@ -183,6 +183,10 @@
<target name="test-unit" depends="test-build, test-validate">
<junit fork="yes" printsummary="yes" haltonfailure="no">
+ <jvmarg value="-Dxindice.home=${basedir}"/>
+ <jvmarg value="-Dxindice.db.home=${basedir}/build/test-unit"/>
+ <jvmarg
value="-Dxindice.configuration=${basedir}/config/system.xml"/>
+
<!-- to show debug logging on screen comment this line and
uncomment the next block -->
<jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog"/>
@@ -204,6 +208,10 @@
<target name="test-embed-binary" depends="test-build, test-validate">
<junit fork="yes" printsummary="yes" haltonfailure="no">
+ <jvmarg value="-Dxindice.home=${basedir}"/>
+ <jvmarg value="-Dxindice.db.home=${basedir}/build/test-binary"/>
+ <jvmarg
value="-Dxindice.configuration=${basedir}/config/system.xml"/>
+
<!-- to show debug logging on screen comment this line and
uncomment the next block -->
<jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog"/>