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 "VTSVM Tests" by mcfirst
Date Mon, 21 Apr 2008 13:45: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 mcfirst:

New page:
VTSVM Tests.

1. Download VTSVM

svn checkout http://svn.apache.org/repos/asf/harmony/enhanced/buildtest/trunk/tests/vts/ <vts_dir>

2. Build VTSVM

Go to <vts_dir>/vm/build. Edit tested.runtime property in build.properties to point
to the java executable you are planning to test.
Execute 'ant setup fetch-depends build-vts' command in your preferred command line. Results

3. Running the suite and evaluating the results

To run VTSVM go to <vts_dir>/vm/build and execute 'ant run-tests'. After test suite
run is finished, you can review the results in <vts_dir>/dest directory.

4. Running individual tests.

VTSVM infrastructure is not suitable for running individual VTSVM tests. If you are in need
of running individual test you have two options.

First, you can do (1) and (2), and run your java, pointing class path to <vts_dir>/VTS-built
and specifying the test with its package name.

Second, you can checkout exactly the test you want to run (look in <a href=http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/tests/vts/>WebSVN
for VTSVM</a> for exact path to the test directory), remove package names from test
sources, build it locally and run as regular Java program.

Then you have to obtain exit code to see if the specified VTSVM test has passed. 104 indicates
SUCCESS, 105 indicates FAILURE, 106 indicates UNEXPECTED, all other exit codes indicate some
failure not related to test itself.

View raw message