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 "Reliability Tests on DRLVM" by AndreyYakushev
Date Fri, 18 Apr 2008 13:38:25 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 AndreyYakushev:
http://wiki.apache.org/harmony/Reliability_Tests_on_DRLVM

The comment on the change is:
"How to run" section is added

------------------------------------------------------------------------------
  === Summary ===
  
  ~+Reliability Tests Suite+~ contains 100 tests including 13 that are considered as invalid
currently. This suite is critical for testing Harmony readiness for running long large workloads
such as Eclipse in the development mode. {*}
+ 
+ === How to run reliability tests ===
+ 
+ 1. There is approximate list of commands that should be executed:
+ 
+ {{{ 
+   cd <new folder for bti>
+   svn co https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/trunk/infra
+   cd infra
+   ant -Dtest.suites="classlib,drlvm,reliability" install
+   ant -Dtest.suites="classlib,drlvm,reliability" setup
+   ant -Dtest.suites="classlib,drlvm,reliability" run
+ }}}
+ 
+ Results could be observed at build/results/reliability folder
+ 
+ 2. In case of testing virtual machine in different location the following commands can help:
+ 
+ {{{ 
+   cd <new folder for bti>
+   svn co https://svn.apache.org/repos/asf/harmony/enhanced/buildtest/trunk/infra
+   cd infra
+   ant -Dtest.suites=reliability install
+   ant -Dtest.suites=reliability setup
+ }}}
+ 
+ Modify file "required-parameters.properties" in order to set the path to tested vm like:
+ 
+ {{{
+ reliability.jvm.under.test=C:\harmony-jdk-628209\jre\bin\java.exe
+ }}}
+ 
+ Start test running
+ 
+ {{{
+   ant -Dtest.suites=reliability run
+ }}}
+ 
+ 3. Here is also sample of individual test run if needed:
+ 
+ {{{
+ <vm folder>\working_vm\build\windows_x86_msvc_release\deploy\jdk\jre\bin\java.exe
-classpath <bti folder>\build\checkouts\reliability\deploy\classes org.apache.harmony.test.reliability.share.ReliabilityTestStarter
-testReliabilityMode longrunning -testTimeOut 1200 -testClassName org.apache.harmony.test.reliability.api.kernel.hooks.AddRmShtdwnHooksTest
<vm folder>\working_vm\build\windows_x86_msvc_release\deploy\jdk\jre\bin\java.exe <bti
folder>\build\checkouts\reliability\deploy\classes
+ }}}
+ 
+ 
+ === Test run status ===
  
  __~+Pass rates+~ according to 
  [http://people.apache.org/~mloenko/snapshot_testing/script/r634719/index.html Automated
Testing results]:__

Mime
View raw message