db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r164936 - in /incubator/jdo/trunk/tck20: maven.xml project.properties test/conf/jdori.properties
Date Wed, 27 Apr 2005 01:46:01 GMT
Author: mcaisse
Date: Tue Apr 26 18:46:00 2005
New Revision: 164936

URL: http://svn.apache.org/viewcvs?rev=164936&view=rev
Log:
JDO-22; increase max heap size as temporary work-around for JDO-20

Modified:
    incubator/jdo/trunk/tck20/maven.xml
    incubator/jdo/trunk/tck20/project.properties
    incubator/jdo/trunk/tck20/test/conf/jdori.properties

Modified: incubator/jdo/trunk/tck20/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/maven.xml?rev=164936&r1=164935&r2=164936&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/maven.xml (original)
+++ incubator/jdo/trunk/tck20/maven.xml Tue Apr 26 18:46:00 2005
@@ -90,6 +90,7 @@
             <sysproperty key="PMFProperties" value="${basedir}/test/conf/jdori.properties"/>
             <sysproperty key="PMF2Properties" value="${basedir}/test/conf/jdori.properties"/>
             <jvmarg line="${database.runtck.sysproperties}"/>
+            <jvmarg line="${jdo.runtck.sysproperties}"/>
             <arg line="${jdo.tck.alltests}"/>
         </java>
     </goal>
@@ -110,8 +111,30 @@
             <arg line="${jdo.tck.alltests}"/>
         </java>
     </goal>
-
-
+    
+    <!-- ================ -->
+    <!-- Debug            -->
+    <!-- ================ -->
+    
+    <goal name="debug.runtck" prereqs="java:compile, enhance, testrunner.set, database,
copyloggingprops">
+        <echo>Debug JDO TCK on the IUT with configuration ${jdo.tck.configuration}</echo>
+        <ant:nbjpdastart name="runtck" addressproperty="jpda.address" transport="dt_socket"/>
+        <java fork="yes" dir="${jdo.tck.testdir}" 
+              classname="${jdo.tck.testrunnerclass}">
+            <classpath refid="project.class.path"/>
+            <sysproperty key="ResultPrinterClass" value="${jdo.tck.resultprinterclass}"/>
+            <sysproperty key="verbose" value="${verbose}"/>
+            <sysproperty key="PMFProperties" value="${iut.runtck.properties}"/>
+            <sysproperty key="PMF2Properties" value="${iut.runtck.properties}"/>
+            <jvmarg line="${iut.runtck.sysproperties}"/>
+            <jvmarg value="-Xdebug"/>
+            <jvmarg value="-Xnoagent"/>
+            <jvmarg value="-Djava.compiler=none"/>
+            <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
+            <arg line="${jdo.tck.testclasses}"/>
+        </java>
+    </goal>
+    
     <!-- ================ -->
     <!-- Enhancer support -->
     <!-- ================ -->

Modified: incubator/jdo/trunk/tck20/project.properties
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/project.properties?rev=164936&r1=164935&r2=164936&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/project.properties (original)
+++ incubator/jdo/trunk/tck20/project.properties Tue Apr 26 18:46:00 2005
@@ -45,6 +45,7 @@
 jdo.tck.testdir = ${maven.build.dir}
 jdo.tck.resultprinterclass = org.apache.jdo.tck.util.BatchResultPrinter
 database.runtck.sysproperties = -Dderby.system.home=${jdo.tck.testdir}/database/${jdo.tck.database}
-Dlog4j.configuration=file:${basedir}/test/conf/logging.properties
+jdo.runtck.sysproperties = -Xmx512m
 jdo.tck.database=derby
 
 # dependencies

Modified: incubator/jdo/trunk/tck20/test/conf/jdori.properties
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/conf/jdori.properties?rev=164936&r1=164935&r2=164936&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/conf/jdori.properties (original)
+++ incubator/jdo/trunk/tck20/test/conf/jdori.properties Tue Apr 26 18:46:00 2005
@@ -13,7 +13,7 @@
 javax.jdo.option.RestoreValues=false
 javax.jdo.option.Mapping=derby
 
-#org.jpox.validateTables=false  # default = true
+org.jpox.validateTables=false  # default = true
 org.jpox.validateConstraints=false
 org.jpox.autoCreateSchema=false
 org.jpox.autoCreateTables=false



Mime
View raw message