[Jboss-cvs] JBossAS SVN: r55036 - trunk/testsuite

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 2 11:34:13 EDT 2006


Author: anil.saldhana at jboss.com
Date: 2006-08-02 11:34:13 -0400 (Wed, 02 Aug 2006)
New Revision: 55036

Modified:
   trunk/testsuite/build.xml
Log:
copy the service file with the temp message destinations to the all config before starting the tests and delete after finishing the tests. This way the tests are in sync across branches

Modified: trunk/testsuite/build.xml
===================================================================
--- trunk/testsuite/build.xml	2006-08-02 15:32:54 UTC (rev 55035)
+++ trunk/testsuite/build.xml	2006-08-02 15:34:13 UTC (rev 55036)
@@ -803,6 +803,10 @@
 
    <target name="jboss-all-config-tests"
       description="The units tests which are run against the jboss all config">
+      <!-- Copy the test-destinations-service.xml to the all config.
+      -->
+      <copy file="${build.resources}/messaging/test-destinations-full-service.xml"
+         todir="${jboss.dist}/server/all/deploy" />
       <server:start name="all"/>
 
       <antcall target="tests-standard-unit"/>
@@ -818,6 +822,7 @@
       <antcall target="tests-aspects"/>
 
       <server:stop name="all"/>
+      <delete file="${jboss.dist}/server/all/deploy/test-destinations-full-service.xml" quiet="true"/>
    </target>
 
    <target name="tests-apache-tomcat-clustering"
@@ -2056,16 +2061,8 @@
       <propertyset id="security-tests-props">
          <propertyref prefix="java.security.auth"/>
       </propertyset>
-
-      <!-- Copy the test-destinations-service.xml to the all config.
-          Additionally this file should be there in the jacc config
-      -->
-      <copy file="${build.resources}/messaging/test-destinations-full-service.xml"
-         todir="${jboss.dist}/server/all/deploy" />
-
       <run-junit junit.patternset="security.includes"
          junit.syspropertyset="security-tests-props" />
-      <delete file="${jboss.dist}/server/all/deploy/test-destinations-full-service.xml"/>
    </target>
 
    <!-- Tests of Java2 permissions. The JBoss server must be running with




More information about the jboss-cvs-commits mailing list