Author: mwringe
Date: 2008-07-21 15:26:16 -0400 (Mon, 21 Jul 2008)
New Revision: 11532
Modified:
modules/web/trunk/web/src/test/build.xml
Log:
Add option to only run tests against containers with a set HOME variable.
Modified: modules/web/trunk/web/src/test/build.xml
===================================================================
--- modules/web/trunk/web/src/test/build.xml 2008-07-21 19:14:11 UTC (rev 11531)
+++ modules/web/trunk/web/src/test/build.xml 2008-07-21 19:26:16 UTC (rev 11532)
@@ -7,6 +7,7 @@
<echo message="runtime classpath: ${runtime_classpath}"/>
<echo message="test classpath: ${test_classpath}"/>
<echo message="plugin classpath: ${plugin_classpath}"/>
+ <echo message="To run tests only for containers specified with a HOME
variable use -Dtest.specified.containers"/>
<!-- -->
<delete dir="${test.temp.dir}"/>
@@ -116,6 +117,9 @@
<condition>
<and>
<not>
+ <isset property="test.specified.containers"/>
+ </not>
+ <not>
<isset property="JBOSS_4_2_0_HOME"/>
</not>
<not>
@@ -132,6 +136,9 @@
<condition>
<and>
<not>
+ <isset property="test.specified.containers"/>
+ </not>
+ <not>
<isset property="JBOSS_5_0_HOME"/>
</not>
</and>
@@ -142,6 +149,9 @@
<condition>
<and>
<not>
+ <isset property="test.specified.containers"/>
+ </not>
+ <not>
<isset property="TOMCAT_6_0_HOME"/>
</not>
</and>
@@ -152,6 +162,9 @@
<condition>
<and>
<not>
+ <isset property="test.specified.containers"/>
+ </not>
+ <not>
<isset property="JETTY_6_1_HOME"/>
</not>
</and>