Author: jfrederic.clere(a)jboss.com
Date: 2009-01-28 05:54:00 -0500 (Wed, 28 Jan 2009)
New Revision: 2235
Modified:
trunk/mod_cluster/test/java/build.xml
Log:
Oops the build always fails otherwise :-(
Modified: trunk/mod_cluster/test/java/build.xml
===================================================================
--- trunk/mod_cluster/test/java/build.xml 2009-01-28 08:53:54 UTC (rev 2234)
+++ trunk/mod_cluster/test/java/build.xml 2009-01-28 10:54:00 UTC (rev 2235)
@@ -126,15 +126,20 @@
<!-- Run the tests -->
<target name="tests" depends="compile">
<copy file="conf/web.xml" todir="${test.classes}/conf"/>
- <java dir="${test.classes}" classname="${test.runner}"
fork="yes" resultproperty="test.failure">
+ <java dir="${test.classes}" classname="${test.runner}"
fork="yes">
<arg value="org.jboss.mod_cluster.Maintest"/>
<jvmarg line="-Dcluster=${cluster}"/>
<classpath refid="tomcat.test.classpath"/>
</java>
</target>
<target name="all" depends="compile,httpd">
- <antcall target="tests">
- </antcall>
+ <!-- That is like test but it sets test.failure to make sure we stop httpd even
in case of errors -->
+ <copy file="conf/web.xml" todir="${test.classes}/conf"/>
+ <java dir="${test.classes}" classname="${test.runner}"
fork="yes" resultproperty="test.failure">
+ <arg value="org.jboss.mod_cluster.Maintest"/>
+ <jvmarg line="-Dcluster=${cluster}"/>
+ <classpath refid="tomcat.test.classpath"/>
+ </java>
<antcall target="stophttpd">
</antcall>
Show replies by date