[jboss-svn-commits] JBL Code SVN: r37816 - labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTA/jta.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Dec 16 05:05:43 EST 2011
Author: tomjenkinson
Date: 2011-12-16 05:05:43 -0500 (Fri, 16 Dec 2011)
New Revision: 37816
Modified:
labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTA/jta/build.xml
Log:
provide a runone target
Modified: labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTA/jta/build.xml
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTA/jta/build.xml 2011-12-15 22:19:55 UTC (rev 37815)
+++ labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTA/jta/build.xml 2011-12-16 10:05:43 UTC (rev 37816)
@@ -34,6 +34,23 @@
</target>
+ <!--
+ run tests that match a given pattern, for example
+ ant testone -DONECLASS="**/*ObjectStoreAPIJMXTest.java"
+ To run under the debugger pass the following to the run.tests.macro macro:
+ <additional.jvmargs>
+ <jvmarg value="-Xdebug"/>
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/>
+ </additional.jvmargs>
+ -->
+ <target name="testone">
+ <run.tests.macro>
+ <tests>
+ <fileset dir="tests/classes" includes="${ONECLASS}"/>
+ </tests>
+ </run.tests.macro>
+ </target>
+
<target name="run.tests">
<!-- we need to run the CrashRecovery test using a byteman script -->
<run.tests.macro script="recovery.txt">
More information about the jboss-svn-commits
mailing list