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 |
To launch stress tests without buildtest do the following:
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 |
stress/README.txt
.cd stress/qa && ant update && ant |
Also it's useful to keep in mind the following:
ant --noconfig
to make additional ant packages work.SystemRoot
property in this capitalization should be set to /windows
or /winnt
directories which contain the OS distribution.TestedRuntime
property at stress/qa/config/cfg_env.xml
is set to a path to a java executable you want to test.stress/qa/config/exclude.file
.build/classes/stress/setup.OK
if you want to rebuild the test suite.
qa/src/test/stress/org/apache/harmony/test/stress/<module>/<submodule>/<test>/<testcase>.xml
to src/org/apache/harmony/test/stress/<module>/<submodule>/<testcase>.xml
, or even src/<module>/<submodule>/<testcase>.xml
. Cannot do this now and cannot be silent about it.