db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrnap <my...@Golux.Com>
Subject [PATCH] test harness skip derbynet suite if no db2jcc.jar
Date Fri, 14 Jan 2005 00:28:03 GMT

Attached is a patch that will cause test suites run with the property 
'framework=DerbyNet' to be skipped if the IBM Universal JDBC Driver is 
not available.
Currently the only suites run like that are the *derbynetmats suites.

Reason for this skipping is so folks that folks not running with 
networkserver get a graceful exit when running derbyall rather than 
failing tests.

Note also, that this addresses the situation where derbynet.jar is in 
the classpath but db2jcc*.jar is not - the suites were already skipped 
when derbynet.jar was not in the classpath.

A final note: this does not affect running individual tests. When 
running individual tests, it is assumed you *know* the implication of 
running with framework=DerbyNet is that you need derbynet.jar, 
db2jcc.jar, and db2jcc_license_c.jar in your classpath as described in 
the testing readme (trunk/java/testing/README.htm).


View raw message