You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Andrew McIntyre (JIRA)" <de...@db.apache.org> on 2006/04/10 23:30:15 UTC

[jira] Commented: (DERBY-514) Integrate upgrade tests into test suite

    [ http://issues.apache.org/jira/browse/DERBY-514?page=comments#action_12373935 ] 

Andrew McIntyre commented on DERBY-514:
---------------------------------------

The lines in the patch for setting the svn:externals property should not cause any problems when applying the patch, but the svn property won't be set by the patch program. Anyone applying the patch will need to edit the property themselves with 'svn propedit svn:externals tools/testing' as you described.

I think the upgrade tests should be in their own suite, that will make it easier to skip them if the conditions to run them are not satisfied (like availability of the old jars).

I'll go ahead and commit the patch4-sed.diff, I'm still looking at patch3.

> Integrate upgrade tests into test suite
> ---------------------------------------
>
>          Key: DERBY-514
>          URL: http://issues.apache.org/jira/browse/DERBY-514
>      Project: Derby
>         Type: Test

>   Components: Test
>     Versions: 10.1.2.0, 10.2.0.0
>     Reporter: Kathey Marsden
>     Assignee: Deepa Remesh
>      Fix For: 10.2.0.0
>  Attachments: derby-514-buildfiles-v1.diff, derby-514-buildfiles-v1.status, derby-514-patch1-v1.diff, derby-514-patch1-v1.status, derby-514-patch2-runtest-v1.diff, derby-514-patch2-runtest-v1.status, derby-514-patch3-v1.diff, derby-514-patch3-v1.status, derby-514-patch4-sed.diff, derby-514-patch4-sed.status
>
> Currently there are no upgrade tests in the derbyAll suite.
> The upgrade tests java/testing/org/apache/derbyTesting are run by script and require that the version to be tested by specified on the command line so that the classpath can be changed.
> # runphases old_major old_minor old_engine new_engine
> #
> # e.g.
> #
> # runphases 10 0 c:/derby/10.0.2.1/lib c:/derby/trunk/jars/sane
> Perhaps this script can be rewritten in Java using class loaders and  previous Derby verssions such as 10.0 and 10.1 be checked in so that this testing can   be incorporated into the derbyAll test suite.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira