You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexander Kleymenov (JIRA)" <ji...@apache.org> on 2006/12/04 13:47:22 UTC

[jira] Updated: (HARMONY-2416) [drlvm][testing] JVM crash handling implementation

     [ http://issues.apache.org/jira/browse/HARMONY-2416?page=all ]

Alexander Kleymenov updated HARMONY-2416:
-----------------------------------------

    Attachment: patch-jvm-crash-handling.txt

Provided patch implements JVM crash handling for regression tests. 

It substitutes default Ant's <junit> task with a new one. New task (implemented by HYJunitTask class) is an extension of standard Ant's JUnitTask and provides all the functionality of default task but additionally it is tolerant to JVM crashes. It preserves XML reporting functionality, so it is possible to see JVM crashes reports in html files generated on the base of xml test results. If the task is configured not to use fork its execution is equivalent to default, otherwise it runs with perTest fork mode. 

It is possible to use this mechanism not only for DRLVM regression testing but everywhere where JVM crashes can occur (classlib testing, other DRLVM JUnit testing). In addition to DRLVM regression tests this task was tested with classlib test run (with J9 and DRLVM). It seems that everything works fine with it.

> [drlvm][testing] JVM crash handling implementation
> --------------------------------------------------
>
>                 Key: HARMONY-2416
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2416
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Alexander Kleymenov
>         Attachments: patch-jvm-crash-handling.txt
>
>
> The current test launching mechanism implemented by Ant's <junit> task does not handle JVM crashes. So at present it is impossible to determine did some test fail during the tests execution or not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira