You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Beliaev (JIRA)" <ji...@apache.org> on 2007/04/18 10:46:15 UTC

[jira] Created: (HARMONY-3689) [drlvm][build][test] running a single test from any test suit is required

[drlvm][build][test] running a single test from any test suit is required
-------------------------------------------------------------------------

                 Key: HARMONY-3689
                 URL: https://issues.apache.org/jira/browse/HARMONY-3689
             Project: Harmony
          Issue Type: Sub-task
          Components: DRLVM
         Environment: any
            Reporter: Vladimir Beliaev


There is no special target to execute a stand along test from drlvm test suites. 

One needs to execute the whole test suite run with '-d' option, like:

<trunk>/working_vm/build $ ./build.bat \
   -d \
   -Dtest.mode=opt \
   kernel.test

to get the single test run command from output... It looks a bit ... long... :

<trunk>\working_vm\build\win_em64t_msvc_debug\deploy\jdk\jre\bin\java \
    -XX:-vm.assert_dialog \
    -Xem:opt \
    -Dtest.resource.path=<trunk>\working_vm\build\<path to kernel tests resources> \
    -Xbootclasspath/a:<junit in classlib>;<kernel tests classes> \
    -classpath <cpptask>;<junit in drlvm>;<other...> \
    org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner \
    ...and so on and so forth...

So it would be really helpful to get the test executed by special target like:

<trunk>/working_vm/build $ ./build.bat \
   -Dtest.mode=opt \
    org/apache/harmony/lang/generics/ClassLoaderTest

This run should be done w/o junit wrapping & print the results to console (not xml/html), so the command above is to be a bit simpler, still it will contain set of special stuff like <kernel tests resources> or <test native code>...

These is one more issue which is just detected - junit.jar is used from 2 locations in such a run - this better to be fixed too.

Thanks
Vladimir Beliaev

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


[jira] Closed: (HARMONY-3689) [drlvm][build][test] running a single test from any test suit is required

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

Vladimir Beliaev closed HARMONY-3689.
-------------------------------------


> [drlvm][build][test] running a single test from any test suit is required
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3689
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3689
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: any
>            Reporter: Vladimir Beliaev
>            Priority: Minor
>
> There is no special target to execute a stand along test from drlvm test suites. 
> One needs to execute the whole test suite run with '-d' option, like:
> <trunk>/working_vm/build $ ./build.bat \
>    -d \
>    -Dtest.mode=opt \
>    kernel.test
> to get the single test run command from output... It looks a bit ... long... :
> <trunk>\working_vm\build\win_em64t_msvc_debug\deploy\jdk\jre\bin\java \
>     -XX:-vm.assert_dialog \
>     -Xem:opt \
>     -Dtest.resource.path=<trunk>\working_vm\build\<path to kernel tests resources> \
>     -Xbootclasspath/a:<junit in classlib>;<kernel tests classes> \
>     -classpath <cpptask>;<junit in drlvm>;<other...> \
>     org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner \
>     ...and so on and so forth...
> So it would be really helpful to get the test executed by special target like:
> <trunk>/working_vm/build $ ./build.bat \
>    -Dtest.mode=opt \
>     org/apache/harmony/lang/generics/ClassLoaderTest
> This run should be done w/o junit wrapping & print the results to console (not xml/html), so the command above is to be a bit simpler, still it will contain set of special stuff like <kernel tests resources> or <test native code>...
> These is one more issue which is just detected - junit.jar is used from 2 locations in such a run - this better to be fixed too.
> Thanks
> Vladimir Beliaev

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


[jira] Updated: (HARMONY-3689) [drlvm][build][test] running a single test from any test suit is required

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

Vladimir Beliaev updated HARMONY-3689:
--------------------------------------

    Priority: Minor  (was: Major)

> [drlvm][build][test] running a single test from any test suit is required
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3689
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3689
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: any
>            Reporter: Vladimir Beliaev
>            Priority: Minor
>
> There is no special target to execute a stand along test from drlvm test suites. 
> One needs to execute the whole test suite run with '-d' option, like:
> <trunk>/working_vm/build $ ./build.bat \
>    -d \
>    -Dtest.mode=opt \
>    kernel.test
> to get the single test run command from output... It looks a bit ... long... :
> <trunk>\working_vm\build\win_em64t_msvc_debug\deploy\jdk\jre\bin\java \
>     -XX:-vm.assert_dialog \
>     -Xem:opt \
>     -Dtest.resource.path=<trunk>\working_vm\build\<path to kernel tests resources> \
>     -Xbootclasspath/a:<junit in classlib>;<kernel tests classes> \
>     -classpath <cpptask>;<junit in drlvm>;<other...> \
>     org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner \
>     ...and so on and so forth...
> So it would be really helpful to get the test executed by special target like:
> <trunk>/working_vm/build $ ./build.bat \
>    -Dtest.mode=opt \
>     org/apache/harmony/lang/generics/ClassLoaderTest
> This run should be done w/o junit wrapping & print the results to console (not xml/html), so the command above is to be a bit simpler, still it will contain set of special stuff like <kernel tests resources> or <test native code>...
> These is one more issue which is just detected - junit.jar is used from 2 locations in such a run - this better to be fixed too.
> Thanks
> Vladimir Beliaev

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


[jira] Resolved: (HARMONY-3689) [drlvm][build][test] running a single test from any test suit is required

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

Vladimir Beliaev resolved HARMONY-3689.
---------------------------------------

    Resolution: Fixed

The test.case property is supported for all DRLVM tests in new version of build - so this issue is fixed.

> [drlvm][build][test] running a single test from any test suit is required
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3689
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3689
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: any
>            Reporter: Vladimir Beliaev
>            Priority: Minor
>
> There is no special target to execute a stand along test from drlvm test suites. 
> One needs to execute the whole test suite run with '-d' option, like:
> <trunk>/working_vm/build $ ./build.bat \
>    -d \
>    -Dtest.mode=opt \
>    kernel.test
> to get the single test run command from output... It looks a bit ... long... :
> <trunk>\working_vm\build\win_em64t_msvc_debug\deploy\jdk\jre\bin\java \
>     -XX:-vm.assert_dialog \
>     -Xem:opt \
>     -Dtest.resource.path=<trunk>\working_vm\build\<path to kernel tests resources> \
>     -Xbootclasspath/a:<junit in classlib>;<kernel tests classes> \
>     -classpath <cpptask>;<junit in drlvm>;<other...> \
>     org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner \
>     ...and so on and so forth...
> So it would be really helpful to get the test executed by special target like:
> <trunk>/working_vm/build $ ./build.bat \
>    -Dtest.mode=opt \
>     org/apache/harmony/lang/generics/ClassLoaderTest
> This run should be done w/o junit wrapping & print the results to console (not xml/html), so the command above is to be a bit simpler, still it will contain set of special stuff like <kernel tests resources> or <test native code>...
> These is one more issue which is just detected - junit.jar is used from 2 locations in such a run - this better to be fixed too.
> Thanks
> Vladimir Beliaev

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