db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (DERBY-5821) tools/derbyrunjartest.java doesn't use jvmflags
Date Wed, 04 Jul 2012 12:52:34 GMT

     [ 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:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For:
>         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


View raw message