mx4j/build build.xml,1.106,1.107
Jeremy Boynes <[email protected]> Tue, 08 Feb 2005 03:20:43 +0000
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mx4j/mx4j/build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17027/build
Modified Files:
build.xml
Log Message:
Added a "testcore" target that runs just core javax.management and mx4j tests
Index: build.xml
===================================================================
RCS file: /cvsroot/mx4j/mx4j/build/build.xml,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** build.xml 15 Jan 2005 14:27:50 -0000 1.106
--- build.xml 8 Feb 2005 03:20:41 -0000 1.107
***************
*** 681,684 ****
--- 681,724 ----
</target>
+ <target name="testcore" description="Executes the core tests" depends="tests">
+ <mkdir dir="${test.xml.dir}"/>
+ <mkdir dir="${test.html.dir}"/>
+
+ <tstamp>
+ <format property="today.now" pattern="EEEE d MMMM yyyy HH:mm zzzz" locale="en"/>
+ </tstamp>
+
+ <junit printsummary="withOutAndErr" fork="yes" timeout="300000" dir="${basedir}" showoutput="yes">
+ <sysproperty key="mx4j.log.priority" value="warn"/>
+ <!-- sysproperty key="java.security.debug" value="access.failure"/-->
+ <formatter type="xml"/>
+ <batchtest fork="yes" todir="${test.xml.dir}">
+ <fileset dir="${test.src.dir}">
+ <include name="test/javax/**/*Test.java"/>
+ <include name="test/mx4j/**/*Test.java"/>
+ <exclude name="test/javax/management/remote/**"/>
+ <exclude name="test/mx4j/remote/**"/>
+ <exclude name="test/mx4j/tools/**"/>
+ </fileset>
+ </batchtest>
+ <classpath>
+ <pathelement location="${dist.test.dir}"/>
+ <fileset dir="${dist.test.dir}">
+ <include name="*.jar"/>
+ <exclude name="jmxri.jar"/>
+ <exclude name="jmxremote.jar"/>
+ <exclude name="jmxremote_optional.jar"/>
+ </fileset>
+ </classpath>
+ </junit>
+
+ <junitreport todir="${test.xml.dir}">
+ <fileset dir="${test.xml.dir}">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames" styledir="${etc.dir}" todir="${test.html.dir}"/>
+ </junitreport>
+ </target>
+
<target name="clean" description="Cleans the build environment">
<delete dir="${classes.dir}" quiet="true"/>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click