harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "JDKTools Tests" by EugeneOstrovsky
Date Sun, 20 Apr 2008 20:48:48 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by EugeneOstrovsky:
http://wiki.apache.org/harmony/JDKTools_Tests

New page:
[[Anchor(Contents)]]
=== Contents ===
 * [#Summary]
 * [#Status Status]
 * [#How_To_Run How To Run]

[[Anchor(Summary)]]
=== Summary ===
JDKTools suite consists of 3 modules:
 1. jpda (aka JDWP Unit)
 2. samsa
 3. tools

[[Anchor(Status)]]
=== Status ===
 * The suite regulary runs with Cruise Control for 4 platforms (Windows, Linux) x (x86, x86_64)

Current pass rate is 100%.

[[Anchor(How_To_Run)]]
=== How To Run ===
=== 1. Run with Build & Test Infrastructure ===
Just run jdktools-test suite within BTI

See [http://harmony.apache.org/subcomponents/buildtest/index.html Build-test Framework]

=== 2. Run in federated build ===
 * Make federated build as described in [http://harmony.apache.org/quickhelp_contributors.html
Getting Started For Contributors]

in working_jdk directory run:
{{{
CLASSPATH=../common_resources/depends/jars/junit_3.8.2/junit.jar ant test
}}}
See the report in working_jdktools/build/test_report directory.

Useful properties:
 * -Dbuild.module=jpda  // to run JDWP unit tests only
 * -Dtest.case=org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethodTest  // To
run single test
 * -Dexclude.interm=true  // Don't run intermittent tests as CC does
 * -Dhy.test.vmargs=-Xint  // Run debuggee with interpreter
 * -Dtest.jre.home=$JAVA_HOME  // Run with arbitrary JRE

=== 3. Standalone run ===
To run single test without ant in federated bulid working_jdk directory:
{{{
java -cp "../common_resources/depends/jars/junit_3.8.2/junit.jar\;./build/tests/classes" org.apache.harmony.jpda.tests.jdwp.Events.VMDeathTest
}}}

Useful properties:
 * -Djpda.settings.debuggeeAgentExtraOptions="trace=PACK+DATA+JVMTI"  // Enable trace for
jdwp agent debugging
 * -Djpda.settings.debuggeeVMExtraOptions="-Xtrace:jvmti.thread"
 * -Djpda.settings.debuggeeLaunchKind=manual

Mime
View raw message