[jboss-cvs] JBossAS SVN: r62601 - branches/JBoss_4_0_0_CP/testsuite.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Apr 27 02:47:52 EDT 2007


Author: jaroslaw.kijanowski
Date: 2007-04-27 02:47:52 -0400 (Fri, 27 Apr 2007)
New Revision: 62601

Modified:
   branches/JBoss_4_0_0_CP/testsuite/build.xml
Log:
port jboss-start and jboss-stop targets

Modified: branches/JBoss_4_0_0_CP/testsuite/build.xml
===================================================================
--- branches/JBoss_4_0_0_CP/testsuite/build.xml	2007-04-27 06:40:46 UTC (rev 62600)
+++ branches/JBoss_4_0_0_CP/testsuite/build.xml	2007-04-27 06:47:52 UTC (rev 62601)
@@ -5748,7 +5748,18 @@
   <!-- ================================================================== -->
   <!-- Tests                                                              -->
   <!-- ================================================================== -->
+  <!-- port jboss-start and jboss-stop targets -->
 
+  <target name="start-as">
+    <start-jboss conf="all" jvmargs="-XX:MaxPermSize=70m -Xmx128m"/>
+    <wait-on-host />
+  </target>
+
+  <target name="stop-as">
+    <stop-jboss />
+    <wait-on-shutdown conf="all" />
+  </target>
+
    <macrodef name="wait-on-host">
       <attribute name="seconds" default="60"/>
       <attribute name="host" default="localhost"/>
@@ -5790,9 +5801,11 @@
   </target>
 
   <target name="tests" description="Execute all tests."
-    depends="tests-unit-noreport,
+    depends="start-as,
+             tests-unit-noreport,
              tests-stress-noreport,
              tests-clustering-noreport,
+             stop-as,
              tests-report">
   </target>
 




More information about the jboss-cvs-commits mailing list