Hi, Rick. I've moved the compatibility test over to derbynetclient, as we agreed.

I noticed in the testScript.xml for the compatibility tests that you
are asking for the location of the DB2 JCC libraries.  Is that required
or optional for running compatibility tests?

I guess this asks the broader question of: are we required to guarantee backward compatibility with the DB2 JDBC driver as part of a release of Derby?

Thanks,

David

Rick Hillegas (JIRA) wrote:
     [ http://issues.apache.org/jira/browse/DERBY-689?page=all ]

Rick Hillegas updated DERBY-689:
--------------------------------

    Attachment: bug689.diff

Various improvements to compatibility test:

1) Moved all JUnit tests under a ...functionTests/tests/junitTests as Myrna and 
John requested.

2) Made the test harness sanity check the classpath as David requested.

3) Abstracted a CompatibilitySuite out of the original test to make it easier 
to add more test classes, as Francois requested.

4) Added combinations for the 10.1.2.0 client and server

5) The derbyall diff tool was enhanced to fabricate an empty canon file if one 
doesn't exist in the codeline. This eliminates the need to create empty canons 
for JUnit tests.

The svn status for this patch follows:

M      java\testing\README.htm
D      java\testing\org\apache\derbyTesting\functionTests\tests\compatibility
D      
java\testing\org\apache\derbyTesting\functionTests\tests\compatibility\README.html
D      
java\testing\org\apache\derbyTesting\functionTests\tests\compatibility\testScript.xml
D      
java\testing\org\apache\derbyTesting\functionTests\tests\compatibility\Pinger.java
D      
java\testing\org\apache\derbyTesting\functionTests\tests\compatibility\JDBCDriverTest.java
D      
java\testing\org\apache\derbyTesting\functionTests\tests\compatibility\build.xml
D      
java\testing\org\apache\derbyTesting\functionTests\tests\jdbcapi\CompatibilityTest.java
D      
java\testing\org\apache\derbyTesting\functionTests\tests\jdbcapi\CompatibilityTest_app.properties
M      
java\testing\org\apache\derbyTesting\functionTests\tests\jdbcapi\copyfiles.ant
A      java\testing\org\apache\derbyTesting\functionTests\tests\junitTests
A  +   
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\compatibility
M  +   
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\compatibility\README.html
M  +   
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\compatibility\testScript.xml
A      
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\compatibility\CompatibilitySuite.java
M  +   
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\compatibility\Pinger.java
M  +   
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\compatibility\JDBCDriverTest.java
M  +   
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\compatibility\build.xml
A      
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\derbynet
A  +   
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\derbynet\CompatibilityTest_app.properties
A  +   
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\derbynet\CompatibilityTest.java
A      
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\derbynet\copyfiles.ant
A      
java\testing\org\apache\derbyTesting\functionTests\tests\junitTests\derbynet\build.xml
M      
java\testing\org\apache\derbyTesting\functionTests\harness\FileCompare.java
D      
java\testing\org\apache\derbyTesting\functionTests\master\CompatibilityTest.out
M      
java\testing\org\apache\derbyTesting\functionTests\suites\derbynetmats.runall
M      
java\testing\org\apache\derbyTesting\functionTests\util\DerbyJUnitTest.java
M      java\testing\build.xml

Note that functionTests/tests/compatibility was svn moved to 
functionTests/tests/junitTests/compatibility and the CompatibiltiyTest itself 
was svn moved to functionTests/tests/junitTests/derbynet.

The compatibility test suite runs cleanly on my machine and so does derbyall.


Various improvements to compatibility test.
-------------------------------------------

        Key: DERBY-689
        URL: http://issues.apache.org/jira/browse/DERBY-689
    Project: Derby
       Type: Improvement
   Reporter: Rick Hillegas
   Assignee: Rick Hillegas
Attachments: bug689.diff

Improve compatibility test as various reviewers requested.


begin:vcard
fn:David W Van Couvering
n:Van Couvering;David W
org:Sun Microsystems, Inc.;Database Technology Group
email;internet:[EMAIL PROTECTED]
title:Senior Staff Software Engineer
tel;work:510-550-6819
tel;cell:510-684-7281
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to