harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3367) [jdktools] support setting JVM arguments in unit tests
Date Mon, 12 Mar 2007 14:32:09 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan Popov updated HARMONY-3367:
--------------------------------

    Attachment: enable_jvm_args.patch

Patch for jdktools build scripts is attached, it uses ${hy.test.vmargs} property for setting
JVM arguments, similar to classlib tests. For JPDA module tests JVM arguments are specified
for both debugger and debuggee processes.

To check this patch, one can run jdktools tests against DRLVM in interpreter mode:

  ant test -Dhy.test.vmargs=-Xint

or even with two JVM arguments:

  ant test -Dhy.test.vmargs="-Xint -showversion"

I've checked this patch on both Windows and Linux and it appeared working well. About 10 JPDA
tests still fail because of known bugs, this is OK for this patch.


> [jdktools] support setting JVM arguments in unit tests
> ------------------------------------------------------
>
>                 Key: HARMONY-3367
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3367
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>         Environment: Windows, Linux
>            Reporter: Ivan Popov
>         Attachments: enable_jvm_args.patch
>
>
> Unit tests in jdktools component do not support setting JVM arguments, like classlib
tests do.
> Build scripts should be updated to support property ${hy.test.vmargs} similar to classlib
tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message