harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3689) [drlvm][build][test] running a single test from any test suit is required
Date Wed, 18 Apr 2007 08:46:15 GMT
[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.


Mime
View raw message