vgritsenko 2003/12/21 18:15:38
Modified: . build.xml build.properties
Log:
Use junit task batch test. Increase test log level from none to warn.
Revision Changes Path
1.64 +9 -4 xml-xindice/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xindice/build.xml,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- build.xml 14 Dec 2003 19:34:00 -0000 1.63
+++ build.xml 22 Dec 2003 02:15:38 -0000 1.64
@@ -160,12 +160,17 @@
<jvmarg
value="-Dxindice.configuration=${basedir}/config/system.xml"/>
<jvmarg value="-Dorg.apache.commons.logging.Log=${test.logger}"/>
<jvmarg
value="-Dorg.apache.commons.logging.simplelog.defaultlog=${test.loglevel}"/>
-
+
<formatter type="plain" usefile="no"/>
<formatter type="xml"/>
- <test name="org.apache.xindice.UnitTests"
- outfile="${test.result.dir}/org.apache.xindice.UnitTests"/>
+ <batchtest todir="${test.result.dir}">
+ <fileset dir="${test.build.dir}">
+ <include name="**/*Test.class"/>
+ <exclude name="**/*Integration*.class"/>
+ <exclude name="**/integration/**"/>
+ </fileset>
+ </batchtest>
<classpath>
<path refid="project.class.path"/>
<pathelement location="${test.build.dir}"/>
1.5 +3 -3 xml-xindice/build.properties
Index: build.properties
===================================================================
RCS file: /home/cvs/xml-xindice/build.properties,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.properties 11 Dec 2003 11:41:59 -0000 1.4
+++ build.properties 22 Dec 2003 02:15:38 -0000 1.5
@@ -34,10 +34,10 @@
# Jakarta commons logger used while running tests.
# NoOpLog: No logging. SimpleLog: logging to console.
-test.logger=org.apache.commons.logging.impl.NoOpLog
+test.logger=org.apache.commons.logging.impl.SimpleLog
# Jakarta commons logger log level
-test.loglevel=debug
+test.loglevel=warn
# ---- Compilation
-------------------------------------------------------------