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 "Stress Tests" by ialeviev
Date Tue, 06 May 2008 08:10:18 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 ialeviev:
http://wiki.apache.org/harmony/Stress_Tests

------------------------------------------------------------------------------
- 
  == Launching Stress 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="stress" install
+   ant -Dtest.suites="stress" setup
+   ant -Dtest.suites="stress" run
+ }}}
+ 
+ Results could be observed at build/results/stress 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=stress install
+   ant -Dtest.suites=stress setup
+ }}}
+ 
+ Modify file "required-parameters.properties" in order to set the path to tested vm like:
+ 
+ {{{
+ stress.jvm.under.test=C:\harmony-jdk-628209\jre\bin\java.exe
+ }}}
+ 
+ Start test running
+ 
+ {{{
+   ant -Dtest.suites=stress 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
+ }}}
+ 
+ 
+ 
- To launch stress tests do the following:
+ To launch stress tests without buildtest do the following:
   1. Download required files from a repository. {{{
  svn co http://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/tests/stress
  svn co http://svn.apache.org/repos/asf/harmony/enhanced/buildtest/branches/2.0/tests/tools

Mime
View raw message