|
From: <hib...@li...> - 2006-07-28 21:08:31
|
Author: max...@jb...
Date: 2006-07-27 03:25:43 -0400 (Thu, 27 Jul 2006)
New Revision: 10176
Modified:
branches/Branch_3_2/Hibernate3/build.xml
Log:
merge from HEAD to 3.2 build.xml
Modified: branches/Branch_3_2/Hibernate3/build.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/build.xml 2006-07-27 07:20:51 UTC (rev 10175)
+++ branches/Branch_3_2/Hibernate3/build.xml 2006-07-27 07:25:43 UTC (rev 10176)
@@ -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"/>
@@ -641,7 +646,8 @@
<target name="junitsingle" depends="cleantestdb,compiletest"
description="Run a single test suite (requires testname and jdbc.driver properties)">
<mkdir dir="${test.out.dir}"/>
- <junit printsummary="yes" fork="yes" haltonfailure="yes" dir="${basedir}">
+ <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}">
|