You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Popov (JIRA)" <ji...@apache.org> on 2007/03/12 14:34:09 UTC

[jira] Created: (HARMONY-3367) [jdktools] support setting JVM arguments in unit tests

[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


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.


[jira] Updated: (HARMONY-3367) [jdktools] support setting JVM arguments in unit tests

Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Patch Info: [Patch Available]

> [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.


[jira] Closed: (HARMONY-3367) [jdktools] support setting JVM arguments in unit tests

Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Popov closed HARMONY-3367.
-------------------------------


Thank you, it appeared working as expected.
Closing this issue.


> [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
>         Assigned To: Stepan Mishura
>         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.


[jira] Resolved: (HARMONY-3367) [jdktools] support setting JVM arguments in unit tests

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stepan Mishura resolved HARMONY-3367.
-------------------------------------

    Resolution: Fixed

Thanks Ivan - the patch was applied to JDKTOOLS at r517525.

Please check that the patch was applied as you expected.


> [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
>         Assigned To: Stepan Mishura
>         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.


[jira] Assigned: (HARMONY-3367) [jdktools] support setting JVM arguments in unit tests

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stepan Mishura reassigned HARMONY-3367:
---------------------------------------

    Assignee: Stepan Mishura

> [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
>         Assigned To: Stepan Mishura
>         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.


[jira] Updated: (HARMONY-3367) [jdktools] support setting JVM arguments in unit tests

Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
     [ 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.