db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fuzzylo...@apache.org
Subject svn commit: r179402 - in /incubator/derby/code/trunk/java/testing: README.htm org/apache/derbyTesting/functionTests/harness/RunTest.java
Date Wed, 01 Jun 2005 19:26:17 GMT
Author: fuzzylogic
Date: Wed Jun  1 12:26:16 2005
New Revision: 179402

URL: http://svn.apache.org/viewcvs?rev=179402&view=rev
Log:
Derby-313: Fix testing README to add information about useprocess property and
fix the references to testSpecialProps.

Committed for Dag H. Wanvik <Dag.Wanvik@sun.com>

Modified:
    incubator/derby/code/trunk/java/testing/README.htm
    incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java

Modified: incubator/derby/code/trunk/java/testing/README.htm
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/README.htm?rev=179402&r1=179401&r2=179402&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/testing/README.htm (original)
+++ incubator/derby/code/trunk/java/testing/README.htm Wed Jun  1 12:26:16 2005
@@ -572,7 +572,7 @@
 <p>See section 2.1 for the basic steps to run 1 test.
 </p>
 <p>To pass on system level properties to the test harness, use the test
-harness property -DtestSpecialFlags. For example, to ensure extra
+harness property -DtestSpecialProps. For example, to ensure extra
 information is appended to the log:&nbsp;<br>
 </p>
 <table
@@ -582,7 +582,7 @@
     <tr>
       <td style="vertical-align: top;"> <small>java
 -Dframework=DerbyNetClient
--DtestSpecialFlags=derby.infolo.append=true&nbsp;
+-DtestSpecialProps=derby.infolog.append=true&nbsp;
 org.apache.derbyTesting.functionTests.harness.RunTest
 lang/supersimple.sql</small></td>
     </tr>
@@ -1179,10 +1179,12 @@
 passed.<br>
 &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; java -Dkeepfiles=true
 org.apache.derbyTesting.functionTests.RunTest lang/arithmetic.sql<br>
-TestSpecialFlags<br>
-&nbsp;&nbsp;&nbsp; sets additional properties.<br>
+testSpecialProps<br>
+&nbsp;&nbsp;&nbsp; sets additional properties. Several can be set
+using '^' as separator: <br>
+&nbsp;&nbsp;&nbsp; -DtestSpecialProps=&lt;prop-1&gt;=&lt;value-1&gt;^
... ^&lt;prop-n&gt;=&lt;value-n&gt;<br>
 &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; java
--DTestSpecialFlags=derby.infolog.append=true
+-DTestSpecialProps=derby.infolog.append=true
 org.apache.derbyTesting.functionTests.RunTest lang/arithmetic.sql <br>
 jvmflags<br>
 &nbsp;&nbsp;&nbsp; sets specific jvm properties for the jvm used in the test
harness, for
@@ -1194,6 +1196,15 @@
 excludeJCC<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; See above section
<a
  href="#skipping">4.10</a><br>
+useprocess<br>
+
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (default=true) Controls
whether RunTest
+runs the test in a separate VM or in a  <br> 
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; thread in harness
VM. It is potentially
+useful for debugging tests. Unit tests are <br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not (yet) runnable
with 
+"useprocess=false", though. 
+
       </td>
     </tr>
   </tbody>

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java?rev=179402&r1=179401&r2=179402&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java
Wed Jun  1 12:26:16 2005
@@ -1321,7 +1321,7 @@
                 ap.load(isApDef);
         }
 
-        // If app props are still empty, check for any special testSpecialFlags
+        // If app props are still empty, check for any special testSpecialProps
         if ( ap.isEmpty() )
         {
             if ( !ijProps.isEmpty() )
@@ -1329,7 +1329,7 @@
         }
         else
         {
-            // merge any special properties from testSpecialFlags
+            // merge any special properties from testSpecialProps
             if ( !ijProps.isEmpty() )
             {
                 for (Enumeration e = ijProps.propertyNames(); e.hasMoreElements();)



Mime
View raw message