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 "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2012/06/11 12:05:43 UTC
[jira] [Created] (DERBY-5808) Compatibility test should use
BaseTestCase.execJavaCmd()
Knut Anders Hatlen created DERBY-5808:
-----------------------------------------
Summary: Compatibility test should use BaseTestCase.execJavaCmd()
Key: DERBY-5808
URL: https://issues.apache.org/jira/browse/DERBY-5808
Project: Derby
Issue Type: Improvement
Components: Test
Affects Versions: 10.10.0.0
Reporter: Knut Anders Hatlen
Assignee: Knut Anders Hatlen
The compatibility test should use BaseTestCase.execJavaCmd() instead of calling Runtime.exec() directly. This would make it easier to pass flags (like EMMA code coverage properties) to the processes spawned by the compatibility test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DERBY-5808) Compatibility test should use
BaseTestCase.execJavaCmd()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen resolved DERBY-5808.
---------------------------------------
Resolution: Fixed
Fix Version/s: 10.10.0.0
Issue & fix info: (was: Patch Available)
Thanks, Kristian. Committed r1350133.
> Compatibility test should use BaseTestCase.execJavaCmd()
> --------------------------------------------------------
>
> Key: DERBY-5808
> URL: https://issues.apache.org/jira/browse/DERBY-5808
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.10.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Fix For: 10.10.0.0
>
> Attachments: d5808-1a.diff
>
>
> The compatibility test should use BaseTestCase.execJavaCmd() instead of calling Runtime.exec() directly. This would make it easier to pass flags (like EMMA code coverage properties) to the processes spawned by the compatibility test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5808) Compatibility test should use
BaseTestCase.execJavaCmd()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5808:
--------------------------------------
Attachment: d5808-1a.diff
The attached patch (d5808-1a.diff) makes the following changes:
- junit/BaseTestCase.java:
Make it possible to specify which Java executable to use when invoking execJavaCmd() (since the compatibility test mixes multiple Java versions).
- functionTests/tests/replicationTests/ReplicationRun.java:
Update call to execJavaCmd() to match the new signature.
- functionTests/tests/junitTests/compatibility/CompatibilityCombinations.java:
Replace all calls to Runtime.exec() with calls to BaseTestCase.execJavaCmd().
I ran derbyall + suites.All + compatibility test successfully with the patch.
> Compatibility test should use BaseTestCase.execJavaCmd()
> --------------------------------------------------------
>
> Key: DERBY-5808
> URL: https://issues.apache.org/jira/browse/DERBY-5808
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.10.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: d5808-1a.diff
>
>
> The compatibility test should use BaseTestCase.execJavaCmd() instead of calling Runtime.exec() directly. This would make it easier to pass flags (like EMMA code coverage properties) to the processes spawned by the compatibility test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5808) Compatibility test should use
BaseTestCase.execJavaCmd()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5808:
--------------------------------------
Issue & fix info: Patch Available
> Compatibility test should use BaseTestCase.execJavaCmd()
> --------------------------------------------------------
>
> Key: DERBY-5808
> URL: https://issues.apache.org/jira/browse/DERBY-5808
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.10.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: d5808-1a.diff
>
>
> The compatibility test should use BaseTestCase.execJavaCmd() instead of calling Runtime.exec() directly. This would make it easier to pass flags (like EMMA code coverage properties) to the processes spawned by the compatibility test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5808) Compatibility test should use
BaseTestCase.execJavaCmd()
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294860#comment-13294860 ]
Kristian Waagan commented on DERBY-5808:
----------------------------------------
The patch looks good to me, Knut Anders.
+1
> Compatibility test should use BaseTestCase.execJavaCmd()
> --------------------------------------------------------
>
> Key: DERBY-5808
> URL: https://issues.apache.org/jira/browse/DERBY-5808
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.10.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Attachments: d5808-1a.diff
>
>
> The compatibility test should use BaseTestCase.execJavaCmd() instead of calling Runtime.exec() directly. This would make it easier to pass flags (like EMMA code coverage properties) to the processes spawned by the compatibility test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira