kevinoneill 2003/08/06 19:40:51
Modified: . build.xml
Log:
Added commented out settings to turn up the noise level for the unit tests
and display the output on screen.
Revision Changes Path
1.54 +57 -13 xml-xindice/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xindice/build.xml,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- build.xml 6 Aug 2003 05:35:34 -0000 1.53
+++ build.xml 7 Aug 2003 02:40:51 -0000 1.54
@@ -183,9 +183,18 @@
<target name="test-unit" depends="test-build, test-validate">
<junit fork="yes" printsummary="yes" haltonfailure="no">
+ <!-- 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"/>
- <test name="org.apache.xindice.UnitTests"
outfile="${test.report.dir}/org.apache.xindice.UnitTests.xml"/>
- <formatter type="xml"/>
+
+ <!--
+ <jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"/>
+ <jvmarg
value="-Dorg.apache.commons.logging.simplelog.defaultlog=debug"/>
+ <formatter type="plain" usefile="no"/>
+ -->
+
+ <formatter type="xml"/>
+
+ <test name="org.apache.xindice.UnitTests"
outfile="${test.report.dir}/org.apache.xindice.UnitTests"/>
<classpath>
<path refid="project.class.path"/>
<pathelement location="${test.build.dir}"/>
@@ -195,8 +204,16 @@
<target name="test-embed-binary" depends="test-build, test-validate">
<junit fork="yes" printsummary="yes" haltonfailure="no">
+ <!-- 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"/>
- <test
name="org.apache.xindice.client.xmldb.resources.BinaryResourceTest"
outfile="${test.report.dir}/org.apache.xindice.client.xmldb.resources.BinaryResourceTest.xml"/>
+
+ <!--
+ <jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"/>
+ <jvmarg
value="-Dorg.apache.commons.logging.simplelog.defaultlog=debug"/>
+ <formatter type="plain" usefile="no"/>
+ -->
+
+ <test
name="org.apache.xindice.client.xmldb.resources.BinaryResourceTest"
outfile="${test.report.dir}/org.apache.xindice.client.xmldb.resources.BinaryResourceTest"/>
<formatter type="xml"/>
<classpath>
<path refid="project.class.path"/>
@@ -207,17 +224,26 @@
<target name="test-integration-embed" depends="test-build,
test-validate">
<junit fork="yes" printsummary="yes" haltonfailure="no">
+ <jvmarg
value="-DPropertyManager.file=${test.dir}/config/test-configuration.props"/>
+ <jvmarg value="-Dxindice.home=${basedir}"/>
+
+ <!-- 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"/>
+
+ <!--
+ <jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"/>
+ <jvmarg
value="-Dorg.apache.commons.logging.simplelog.defaultlog=debug"/>
+ <formatter type="plain" usefile="no"/>
+ -->
+
<classpath>
<path refid="project.class.path"/>
<pathelement location="${test.build.dir}"/>
</classpath>
- <jvmarg
value="-DPropertyManager.file=${test.dir}/config/test-configuration.props"/>
- <jvmarg value="-Dxindice.home=${basedir}"/>
- <jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog"/>
<formatter type="xml"/>
- <test name="org.apache.xindice.IntegrationEmbedTests"
outfile="${test.report.dir}/org.apache.xindice.IntegrationEmbedTests.xml"/>
+ <test name="org.apache.xindice.IntegrationEmbedTests"
outfile="${test.report.dir}/org.apache.xindice.IntegrationEmbedTests"/>
</junit>
</target>
@@ -228,10 +254,19 @@
<junit fork="yes" printsummary="yes" haltonfailure="no">
<jvmarg value="-Dxindice.home=${basedir}"/>
- <jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog"/>
<jvmarg value="-Dtest.xmlrpc.hostport=${test.xmlrpc.hostport}"/>
<jvmarg
value="-Dtest.xmlrpc.service-location=${test.xmlrpc.service-location}"/>
<jvmarg value="-Dtest.xmlrpc.driver=${test.xmlrpc.driver}"/>
+
+ <!-- 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"/>
+
+ <!--
+ <jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"/>
+ <jvmarg
value="-Dorg.apache.commons.logging.simplelog.defaultlog=debug"/>
+ <formatter type="plain" usefile="no"/>
+ -->
+
<classpath>
<path refid="project.class.path"/>
<pathelement location="${test.build.dir}"/>
@@ -239,19 +274,28 @@
<formatter type="xml" />
- <test name="org.apache.xindice.IntegrationXmlRpcTests"
outfile="${test.report.dir}/org.apache.xindice.IntegrationXmlRpcTests.xml"/>
+ <test name="org.apache.xindice.IntegrationXmlRpcTests"
outfile="${test.report.dir}/org.apache.xindice.IntegrationXmlRpcTests"/>
</junit>
</target>
<target name="test-integration-managed" depends="test-build,
test-validate">
<junit fork="yes" printsummary="yes" haltonfailure="no">
+ <jvmarg
value="-DPropertyManager.file=${test.dir}/config/test-configuration.props"/>
+ <jvmarg value="-Dxindice.home=${basedir}"/>
+
+ <!-- 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"/>
+
+ <!--
+ <jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"/>
+ <jvmarg
value="-Dorg.apache.commons.logging.simplelog.defaultlog=debug"/>
+ <formatter type="plain" usefile="no"/>
+ -->
+
<classpath>
<path refid="project.class.path"/>
<pathelement location="${test.build.dir}"/>
</classpath>
- <jvmarg
value="-DPropertyManager.file=${test.dir}/config/test-configuration.props"/>
- <jvmarg value="-Dxindice.home=${basedir}"/>
- <jvmarg
value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog"/>
<formatter type="xml"/>