You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ka...@apache.org on 2013/05/28 10:30:30 UTC

svn commit: r1486816 - in /db/derby/code/branches/10.9: ./ build.xml

Author: kahatlen
Date: Tue May 28 08:30:30 2013
New Revision: 1486816

URL: http://svn.apache.org/r1486816
Log:
DERBY-6078: Propagate a set of properties to the junit tasks in build.xml

Merged revision 1448359 from trunk.

Modified:
    db/derby/code/branches/10.9/   (props changed)
    db/derby/code/branches/10.9/build.xml

Propchange: db/derby/code/branches/10.9/
------------------------------------------------------------------------------
  Merged /db/derby/code/trunk:r1448359

Modified: db/derby/code/branches/10.9/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.9/build.xml?rev=1486816&r1=1486815&r2=1486816&view=diff
==============================================================================
--- db/derby/code/branches/10.9/build.xml (original)
+++ db/derby/code/branches/10.9/build.xml Tue May 28 08:30:30 2013
@@ -2404,6 +2404,10 @@
       <sysproperty key="derbyTesting.oldReleasePath" value="${derbyTesting.oldReleasePath}"/>
       <!-- This property is needed to keep EMMA silent when measuring codecoverage -->
       <sysproperty key="emma.verbosity.level" value="silent"/>
+      <!-- Pass on properties from the command line to the spawned VM. -->
+      <syspropertyset id="system-properties-passed-on">
+        <propertyref builtin="commandline"/>
+      </syspropertyset>
       <!-- Use the system property below to debug lacking java security permissions -->
 <!--      <sysproperty key="java.security.debug" value="access:failure"/> -->
       <formatter type="xml"/>
@@ -2459,6 +2463,10 @@
                tempdir="junit_${derby.junit.timestamp}"
                errorproperty="tests.failed"
                failureproperty="tests.failed">
+          <!-- Pass on properties from the command line to the spawned VM. -->
+          <syspropertyset id="system-properties-passed-on">
+            <propertyref builtin="commandline"/>
+          </syspropertyset>
           <formatter type="xml"/>
 
     <test name="org.apache.derbyTesting.system.oe.test.OETest"
@@ -2487,6 +2495,10 @@
            tempdir="junit_${derby.junit.timestamp}"
   	 	   errorproperty="tests.failed"
   	       failureproperty="tests.failed">
+      <!-- Pass on properties from the command line to the spawned VM. -->
+      <syspropertyset id="system-properties-passed-on">
+        <propertyref builtin="commandline"/>
+      </syspropertyset>
       <formatter type="xml"/>
   	 	
       <test name="org.apache.derbyTesting.functionTests.tests.jdbc4._Suite"
@@ -2510,6 +2522,10 @@
            tempdir="junit_${derby.junit.timestamp}"
   	 	   errorproperty="tests.failed"
   	       failureproperty="tests.failed">
+      <!-- Pass on properties from the command line to the spawned VM. -->
+      <syspropertyset id="system-properties-passed-on">
+        <propertyref builtin="commandline"/>
+      </syspropertyset>
       <formatter type="xml"/>
   	 	
       <test name="org.apache.derbyTesting.functionTests.tests.memory._Suite"
@@ -2531,6 +2547,10 @@
             tempdir="junit_${derby.junit.timestamp}"
             errorproperty="tests.failed"
             failureproperty="tests.failed">
+        <!-- Pass on properties from the command line to the spawned VM. -->
+        <syspropertyset id="system-properties-passed-on">
+          <propertyref builtin="commandline"/>
+        </syspropertyset>
         <formatter type="xml"/>
 
         <test name="org.apache.derbyTesting.functionTests.tests.management._Suite"
@@ -2553,7 +2573,11 @@
             tempdir="junit_${derby.junit.timestamp}"
             errorproperty="tests.failed"
             failureproperty="tests.failed">
-        <formatter type="xml"/>
+        <!-- Pass on properties from the command line to the spawned VM. -->
+        <syspropertyset id="system-properties-passed-on">
+          <propertyref builtin="commandline"/>
+        </syspropertyset>
+         <formatter type="xml"/>
 
         <test name="org.apache.derby.PackagePrivateTestSuite"
                 todir="junit_${derby.junit.timestamp}"/>
@@ -2582,8 +2606,13 @@
            tempdir="junit_${derby.junit.timestamp}"
            errorproperty="tests.failed"
            failureproperty="tests.failed">
+      <sysproperty key="java.security.debug" value="policy"/>
       <!-- This property is needed to keep EMMA silent when measuring codecoverage -->
       <sysproperty key="emma.verbosity.level" value="silent"/>
+      <!-- Pass on properties from the command line to the spawned VM. -->
+      <syspropertyset id="system-properties-passed-on">
+        <propertyref builtin="commandline"/>
+      </syspropertyset>
       <formatter type="xml"/>
       
       <test name="${derby.junit.testclass}" todir="junit_${derby.junit.timestamp}"/>