[hornetq-commits] JBoss hornetq SVN: r9474 - trunk.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Jul 27 17:01:26 EDT 2010
Author: clebert.suconic at jboss.com
Date: 2010-07-27 17:01:26 -0400 (Tue, 27 Jul 2010)
New Revision: 9474
Modified:
trunk/build-hornetq.xml
trunk/build.xml
Log:
adding soak-tests as an option on build.xml
Modified: trunk/build-hornetq.xml
===================================================================
--- trunk/build-hornetq.xml 2010-07-27 20:56:21 UTC (rev 9473)
+++ trunk/build-hornetq.xml 2010-07-27 21:01:26 UTC (rev 9474)
@@ -1692,6 +1692,43 @@
</junit>
</target>
+
+ <target name="soak-tests" depends="jar, compile-unit-tests">
+ <echo message=""/>
+ <echo message="Running unit tests, fork=${junit.fork}, junit.batchtest.fork=${junit.batchtest.fork}"/>
+ <echo message=""/>
+ <mkdir dir="${test.output.dir}"/>
+ <mkdir dir="${test.reports.dir}"/>
+ <junit printsummary="${junit.printsummary}"
+ fork="on"
+ forkMode="perTest"
+ includeantruntime="${junit.includeantruntime}"
+ haltonerror="${junit.haltonerror}"
+ haltonfailure="${junit.haltonfailure}"
+ showoutput="${junit.showoutput}">
+
+ <sysproperty key="user.home" value="${user.home}"/>
+ <sysproperty key="java.io.tmpdir" value="${java.io.tmpdir}"/>
+ <jvmarg value="-Xmx1024M"/>
+ <jvmarg value="-Dmodule.output=./"/>
+ <jvmarg value="-Djava.util.logging.config.file=src/config/trunk/non-clustered/logging.properties"/>
+
+ <jvmarg value="-Djava.library.path=native/bin"/>
+ <!--<jvmarg line="-Xmx512M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/>-->
+ <!--<jvmarg value="-ea"/>-->
+ <classpath refid="unit.test.execution.classpath"/>
+ <formatter type="xml" usefile="${junit.formatter.usefile}"/>
+ <batchtest todir="${test.reports.dir}"
+ haltonfailure="${junit.batchtest.haltonfailure}"
+ haltonerror="${junit.batchtest.haltonerror}">
+ <formatter type="plain" usefile="${junit.formatter.usefile}"/>
+ <fileset dir="${test.classes.dir}">
+ <include name="**/org/hornetq/tests/soak/**/*${test-mask}.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
<target name="all-tests" depends="unit-tests, integration-tests, concurrent-tests, stress-tests, jms-tests, joram-tests"/>
<target name="hudson-tests" depends="unit-tests, integration-tests, concurrent-tests, timing-tests, jms-tests, joram-tests"/>
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2010-07-27 20:56:21 UTC (rev 9473)
+++ trunk/build.xml 2010-07-27 21:01:26 UTC (rev 9474)
@@ -266,11 +266,15 @@
</target>
<target name="stress-tests" depends="createthirdparty">
-
<ant antfile="build-hornetq.xml" target="stress-tests"/>
<ant antfile="build-hornetq.xml" target="compile-reports"/>
</target>
+ <target name="soak-tests" depends="createthirdparty">
+ <ant antfile="build-hornetq.xml" target="soak-tests"/>
+ <ant antfile="build-hornetq.xml" target="compile-reports"/>
+ </target>
+
<target name="jms-tests" depends="createthirdparty">
<ant antfile="build-hornetq.xml" target="jms-tests"/>
<ant antfile="build-hornetq.xml" target="compile-reports"/>
More information about the hornetq-commits
mailing list