User: starksm 
  Date: 01/11/25 20:50:31

  Modified:    .        build.xml
  Log:
  Change the one-test target to execute a single unit test as specified
  by the test property. The test property gives the fully qualified class
  name of the unit test to execute rather than a class name that is matched
  in every test package.
  
  Revision  Changes    Path
  1.40      +5 -10     jbosstest/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/build.xml,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- build.xml 2001/11/19 06:59:12     1.39
  +++ build.xml 2001/11/26 04:50:31     1.40
  @@ -10,7 +10,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.39 2001/11/19 06:59:12 d_jencks Exp $ -->
  +<!-- $Id: build.xml,v 1.40 2001/11/26 04:50:31 starksm Exp $ -->
   
   <project default="main" name="JBoss/Testsuite">
   
  @@ -1864,7 +1864,8 @@
     </target>
   
     <!--
  -     | Run a single testcase by specifing the test name in -Dtest=
  +     | 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
      -->
   
  @@ -1897,16 +1898,10 @@
         <formatter type="${junit.formatter.type}"
                 usefile="${junit.formatter.usefile}"/>
   
  -      <batchtest todir="${build.reports}"
  +      <test todir="${build.reports}" name="${test}"
                 haltonerror="${junit.batchtest.haltonerror}" 
                 haltonfailure="${junit.batchtest.haltonfailure}" 
  -              fork="${junit.batchtest.fork}">
  -
  -        <fileset dir="${build.classes}">
  -          <include name="org/jboss/test/*/test/${test}.class"/>
  -          <include name="org/jboss/test/*/perf/${test}.class"/>
  -        </fileset>
  -      </batchtest>
  +              fork="${junit.batchtest.fork}"/>
       </junit>
     </target>
   
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to