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] Trivial Update of "TPTP Tests" by EugeneOstrovsky
Date Mon, 21 Apr 2008 09:45:36 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/TPTP_Tests

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

[[Anchor(Summary)]]
=== Summary ===
TPTP test suite is used to test DRLVM JVMTI profiling support 

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

Current pass rate is 100%.

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

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

=== 2. Standalone run ===
Checkout tptp runner scripts:
{{{
svn co http://svn.apache.org/repos/asf/harmony/enhanced/buildtest/trunk/tests/tptp
}}}

in tptp directory run:
{{{
ant -Dtested.jre=$TESTED_JAVA_HOME
}}}
or in 2 steps:
{{{
ant setup  // obtain prerequisites and build
ant -Dtested.jre=$TESTED_JAVA_HOME run  // run tests
}}}
See the report in tptp/results directory.

=== 3. Manual build & run ===
Follow [http://dev.eclipse.org/viewcvs/index.cgi/test-results/platform/org.eclipse.tptp.ac.testautomation/automation-files/notes/building_tptp_jvmti_tests.txt?root=TPTP_Project&view=co&pathrev=HEAD
this instructions] to get AC, checkout and build tests.

To run the tests use the following command:
{{{
${JAVA_HOME}/bin/java \
    -Dtest.param="${EM_OPT}" \
    -Dtest.timeout=${test.timeout} \
    -Dconfigfile="$CFGFILE" \
    -Dtest.output=${OUTPUT} \
    -Dtest.java=${UT_RUNTIME} \
    -Dtest.home=${TEST_HOME} \
    -Dac.home=${AC_HOME} \
    -Dtest.verbose=false \
    -Xbootclasspath/p:${BOOTCLASSPATH} \
    -classpath ${CLASSPATH} \
    org.eclipse.tptp.ac.testautomation.AllStandaloneProfiling > ${OUTPUT}/log.txt 2>&1

   where:

   JAVA_HOME - reference runtime location
   EM_OPT - running mode
            for DRLVM -Xint/-Xem:opt/-Xem:jet or default +  -XX:vm.assert_dialog=false
            for RI it is empty
   TIME_OUT - time in milliseconds for 1 test
   CFGFILE - configure file location
   OUTPUT  - output directory location
   UT_RUNTIME - tested JRE location
   TEST_HOME  - tests directory location
   AC_HOME - agent directory location
   BOOTCLASSPATH - used bootclasspath
   CLASSPATH - used jar files
}}}

Mime
View raw message