[
https://issues.apache.org/jira/browse/DERBY-5821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen reopened DERBY-5821:
---------------------------------------
Reopening the issue since I forgot to add the JUnit test to the tools._Suite.
Also, the test case for the server command fails on J2ME platforms, because the
server isn't supported on those platforms, and should be skipped.
> tools/derbyrunjartest.java doesn't use jvmflags
> -----------------------------------------------
>
> Key: DERBY-5821
> URL: https://issues.apache.org/jira/browse/DERBY-5821
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.10.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Fix For: 10.10.0.0
>
> Attachments: d5821-1a.diff
>
>
> tools/derbyrunjartest.java doesn't use the jvmflags property when it starts a
> sub-process, so one cannot pass custom flags to the process. This makes it
> difficult to get the test to pass when running with code coverage tools.
> For example, for EMMA, we need to manipulate the classpath and reduce the
> verbosity level. And we need to pass a -javaagent flag if we're running with
> JaCoCo. Using the jvmflags property works for those tests that don't spawn
> processes.
--
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