Author: david.lloyd(a)jboss.com
Date: 2009-01-09 19:36:28 -0500 (Fri, 09 Jan 2009)
New Revision: 4802
Modified:
remoting-mc-int/trunk/build.xml
Log:
No tests for raw metadata
Modified: remoting-mc-int/trunk/build.xml
===================================================================
--- remoting-mc-int/trunk/build.xml 2009-01-10 00:35:54 UTC (rev 4801)
+++ remoting-mc-int/trunk/build.xml 2009-01-10 00:36:28 UTC (rev 4802)
@@ -114,82 +114,6 @@
</path>
</target>
- <!-- test -->
-
- <target name="metadata.test.compile.depcheck">
- <mkdir dir="metadata/target/test"/>
- <uptodate property="metadata.test.compile.uptodate"
targetfile="metadata/target/test/.lastcompile">
- <srcfiles dir="metadata/src/test/java">
- <include name="**/"/>
- <include name="**/*.java"/>
- <exclude name="**/.*"/>
- </srcfiles>
- </uptodate>
- </target>
-
- <target name="metadata.test.compile"
depends="metadata.test.compile.depcheck"
unless="metadata.test.compile.uptodate">
- <mkdir dir="metadata/target/test/classes"/>
- <javac
- source="${javac.source}"
- target="${javac.target}"
- srcdir="metadata/src/test/java"
- destdir="metadata/target/test/classes"
- debug="true">
- <compilerarg value="-Xlint:unchecked"/>
- <classpath>
- </classpath>
- </javac>
- <touch file="metadata/target/test/.lastcompile"
verbose="false"/>
- </target>
-
- <target name="metadata.test"
depends="metadata.main,metadata.test.compile">
- <path id="metadata.test.classpath">
- <pathelement location="metadata/target/test/classes"/>
- </path>
- </target>
-
- <!-- run tests -->
-
- <target name="metadata.runtests.pseudotarget">
- <echo message="============================================="/>
- <echo message="${message}"/>
- <echo message="============================================="/>
- <mkdir dir="metadata/target/test-results"/>
- <junit printsummary="true" fork="yes"
includeantruntime="true">
- <sysproperty key="build.home" value="${basedir}"/>
- <sysproperty key="ant.library.dir"
value="${ant.home}/lib"/>
- <sysproperty key="lib.junit.local"
value="${lib.junit.local}"/>
- <!-- XXX other libs here - sys props are used for security policy -->
- <jvmarg line="${test.jvmargs}"/>
- <formatter type="plain" extension="${extension}"/>
- <classpath>
- <path refid="metadata.test.classpath"/>
- <!-- XXX if you have testing-support... -->
- <path refid="testing-support.classpath"/>
- <path refid="lib.junit.classpath"/>
- </classpath>
- <batchtest fork="yes"
todir="metadata/target/test-results"
- haltonfailure="no">
- <fileset dir="metadata/target/test/classes">
- <include name="**/*TestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="metadata.runtests"
depends="metadata.test,testing-support">
- <antcall inheritall="true" inheritrefs="true"
target="metadata.runtests.pseudotarget">
- <param name="extension" value=".txt"/>
- <param name="message" value="Running with no security
manager"/>
- <param name="test.jvmargs" value="-Ddummy=dummy"/>
- </antcall>
- <antcall inheritall="true" inheritrefs="true"
target="metadata.runtests.pseudotarget">
- <param name="extension" value="-security.txt"/>
- <param name="message" value="Running with security
manager"/>
- <param name="test.jvmargs"
value="-Djava.security.manager=${runtests.security.manager}
-Djava.security.policy=${runtests.security.policy}"/>
- </antcall>
- </target>
-
<!-- general -->
<target name="metadata.clean">
Show replies by date