From: <hib...@li...> - 2006-07-28 21:38:39
|
Author: max...@jb... Date: 2006-07-27 03:20:51 -0400 (Thu, 27 Jul 2006) New Revision: 10175 Modified: trunk/Hibernate3/build.xml Log: let the nightly build control failureexpected Modified: trunk/Hibernate3/build.xml =================================================================== --- trunk/Hibernate3/build.xml 2006-07-26 20:11:52 UTC (rev 10174) +++ trunk/Hibernate3/build.xml 2006-07-27 07:20:51 UTC (rev 10175) @@ -69,6 +69,8 @@ <property name="replace.dir" value="${src.dir}"/> + <property name="hibernate.test.validatefailureexpected" value="false"/> + <path id="lib.class.path"> <fileset dir="${lib.dir}"> <include name="**/*.jar"/> @@ -525,6 +527,7 @@ --> <junit printsummary="yes" haltonfailure="yes" dir="${basedir}" maxmemory="256M" fork="yes" forkmode="perBatch"> + <jvmarg value="-Dhibernate.test.validatefailureexpected=${hibernate.test.validatefailureexpected}"/> <classpath> <fileset dir="${lib.dir}"> <include name="**/*.jar"/> @@ -561,6 +564,7 @@ <mkdir dir="${instrumenttest.out.dir}"/> <junit printsummary="yes" haltonfailure="yes" dir="${basedir}" maxmemory="256M" fork="yes" forkmode="perBatch"> + <jvmarg value="-Dhibernate.test.validatefailureexpected=${hibernate.test.validatefailureexpected}"/> <classpath> <fileset dir="${lib.dir}"> <include name="**/*.jar"/> @@ -594,6 +598,7 @@ description="Run the performance tests"> <mkdir dir="${test.out.dir}"/> <junit printsummary="yes" fork="yes" haltonfailure="yes" dir="${basedir}"> + <jvmarg value="-Dhibernate.test.validatefailureexpected=${hibernate.test.validatefailureexpected}"/> <classpath> <fileset dir="${lib.dir}"> <include name="**/*.jar"/> @@ -642,6 +647,7 @@ description="Run a single test suite (requires testname and jdbc.driver properties)"> <mkdir dir="${test.out.dir}"/> <junit printsummary="yes" maxmemory="256M" fork="yes" haltonfailure="yes" dir="${basedir}"> + <jvmarg value="-Dhibernate.test.validatefailureexpected=${hibernate.test.validatefailureexpected}"/> <classpath> <pathelement path="${etc.dir}"/> <!-- pick up property resources from the 'etc' directory first --> <fileset dir="${lib.dir}"> |