[jboss-cvs] jbosstest ...

Anil Saldhana anil.saldhana at jboss.com
Wed Jul 26 18:00:16 EDT 2006


  User: asaldhana
  Date: 06/07/26 18:00:16

  Modified:    jbosstest  Tag: Branch_3_2 build.xml
  Log:
  Have the target one-test-debug as in branch_4_0 and HEAD
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.165.2.209 +62 -1     jbosstest/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/build.xml,v
  retrieving revision 1.165.2.208
  retrieving revision 1.165.2.209
  diff -u -b -r1.165.2.208 -r1.165.2.209
  --- build.xml	22 Jun 2006 11:37:21 -0000	1.165.2.208
  +++ build.xml	26 Jul 2006 22:00:15 -0000	1.165.2.209
  @@ -11,7 +11,7 @@
   <!-- ============================================================ -->
   
   
  -<!-- $Id: build.xml,v 1.165.2.208 2006/06/22 11:37:21 dimitris Exp $ -->
  +<!-- $Id: build.xml,v 1.165.2.209 2006/07/26 22:00:15 asaldhana Exp $ -->
   
   
   <project default="main" name="JBoss/Testsuite">
  @@ -1694,6 +1694,67 @@
         </junit>
      </target>
   
  +   <!--
  +      | Run a single testcase by specifing the fully qualified class name
  +      | of the unit test using the test property, -Dtest=org.jboss.test....
  +      | Here you specify the testcase class, not the directory
  +    -->
  +   <target name="one-test-debug" if="test"
  +      description="Execute a single test.">
  +      <mkdir dir="${build.reports}"/>
  +      <mkdir dir="${build.testlog}"/>
  +      <!-- Remove the test.log so each test has a fresh log -->
  +      <delete file="${build.testlog}/test.log"/>
  +      <junit dir="${module.output}"
  +         printsummary="${junit.printsummary}"
  +         haltonerror="${junit.haltonerror}"
  +         haltonfailure="${junit.haltonfailure}"
  +         fork="${junit.fork}"
  +         timeout="${junit.timeout}"
  +         jvm="${junit.jvm}">
  +
  +		 <jvmarg value="-verbose:gc"/> 
  +         <jvmarg value="-Xdebug"/>
  +         <jvmarg value="-Xnoagent"/>
  +         <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8686"/>
  +         <jvmarg value="${junit.jvm.options}"/>
  +         <jvmarg value="-Dbind.address=${node0}"/>
  +         <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/>
  +         <sysproperty key="build.testlog" value="${build.testlog}"/>
  +         <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/>
  +         <sysproperty key="jbosstest.threadcount" value="${jbosstest.threadcount}"/>
  +         <sysproperty key="jbosstest.iterationcount" value="${jbosstest.iterationcount}"/>
  +         <sysproperty key="jbosstest.beancount" value="${jbosstest.beancount}"/>
  +         <sysproperty key="jbosstest.nodeploy" value="${jbosstest.nodeploy}"/>
  +         <sysproperty key="jbosstest.secure" value="true"/>
  +         <!-- Pass along any jbosstest.* system properties -->
  +         <syspropertyset>
  +            <propertyref prefix="jbosstest."/>
  +         </syspropertyset>
  +         <sysproperty key="java.security.auth.login.config"
  +            value="${build.resources}/security/auth.conf"/>
  +         <sysproperty key="javax.net.ssl.trustStore"
  +            value="${build.resources}/security/tst.keystore"/>
  +         <sysproperty key="org.jboss.security.ignoreHttpsHost" value="true"/>
  +
  +         <classpath>
  +            <pathelement location="${build.classes}"/>
  +            <pathelement location="${build.resources}"/>
  +            <!-- Include for those tests that need common security resources -->
  +            <pathelement location="${build.resources}/security"/>
  +            <path refid="tests.classpath"/>
  +         </classpath>
  +
  +         <formatter type="xml" usefile="${junit.formatter.usefile}"/>
  +
  +         <test todir="${build.reports}" name="${test}"
  +            haltonerror="${junit.batchtest.haltonerror}"
  +            haltonfailure="${junit.batchtest.haltonfailure}"
  +            fork="${junit.batchtest.fork}"/>
  +      </junit>
  +   </target>
  +	
  +
      <!-- Misc tests of the testing framework itself
      -->
      <target name="tests-apache"
  
  
  



More information about the jboss-cvs-commits mailing list