db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepa Remesh" <drem...@gmail.com>
Subject Re: [jira] Updated: (DERBY-514) Integrate upgrade tests into test suite
Date Fri, 21 Apr 2006 17:21:28 GMT
On 4/21/06, Myrna van Lunteren <m.v.lunteren@gmail.com> wrote:
> On 4/21/06, Deepa Remesh (JIRA) <derby-dev@db.apache.org > wrote:
> > NOTE:
> > The pre-requisites to run upgrade tests:
> > * If the tests are run on a machine where the svn source is not available,
> a property ' derbyTesting.jar.path' needs to be set in ant.properties file.
> Details are in Section 3.2 in BUILDING.txt.
> [snip other *]
> Hi Deepa,
> Does this mean you have to have ant installed to run this suite? I often run
> tests on machines with only a jdk installed, and I just copy the jars
> only...If you really need ant, will the test exit gracefully if you don't
> have it when running the test?

No. Ant is not required to run the test. As usual, ant is required
only during build. During build, the value specified in the
ant.properties file will be used to update the test's app_properties
file so that the test knows where to look for the jars from the
previous release. This property need not be specified if we plan to
run the test from the same machine where we have the svn source files.
In that case, the jars checked into svn under tools/testing will be
used. But if we want to run tests on another machine, we need to 
specify "derbyTesting.jar.path" property in ant.properties file during
build itself so that this location will be used when the test is run.
Hope this is clearer now.


View raw message