Author: ekoneil
Date: Thu Aug 19 13:08:33 2004
New Revision: 36632

Modified:
   incubator/beehive/trunk/netui/build.xml
Log:
Add top-level "bvt" target.

Just allows the BVTs to be run from the NetUI top-level.  This starts Tomcat, 
runs the full BVT suite, stops Tomcat, and produces a JUnit report.

BB: self
DRT: NetUI BVT pass
Tests: ran "ant clean deploy bvt" from the top-level



Modified: incubator/beehive/trunk/netui/build.xml
==============================================================================
--- incubator/beehive/trunk/netui/build.xml     (original)
+++ incubator/beehive/trunk/netui/build.xml     Thu Aug 19 13:08:33 2004
@@ -48,6 +48,26 @@
         <echo message="--------------------------------------------------"/>
     </target>
 
+    <target name="bvt" description="Runs the NetUI BVTs">
+        <echo message="--------------------------------------------------"/>
+        <echo message="|      NetUI BVT starting                        |"/>
+        <echo message="--------------------------------------------------"/>
+
+        <!-- run the JUnit DRTs -->
+        <ant dir="test/ant" target="drt" inheritAll="false">
+            <property name="drt.cc.mode" value="true"/>
+        </ant>
+
+        <!-- run the server DRTs -->
+        <ant dir="${beehive.dir}/netui/test/webapps/drt" antfile="build.xml" 
target="bvt" inheritAll="false">
+            <property name="drt.cc.mode" value="true"/>
+        </ant>
+
+        <echo message="--------------------------------------------------"/>
+        <echo message="|      NetUI BVT ending                          |"/>
+        <echo message="--------------------------------------------------"/>
+    </target>
+
     <target name="deploy.netui" 
             description="Deploy the NetUI runtime to a fully-quaflified webapp 
directory specified with the property 'webapp.dir'">
         <available property="webapp.dir.available" file="${webapp.dir}" 
type="dir"/>

Reply via email to