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 "DRLVMRegressionTests" by GregoryShimansky
Date Fri, 18 Apr 2008 12:49:19 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 GregoryShimansky:

New page:
= DRLVM Regression Tests =
[wiki:Self:DRLVMTestTracking Back to DRLVM Test Tracking]

=== Summary ===

[#Status Status] [[BR]]
[#Build Building Regression tests] [[BR]]
[#Run Running Regression tests]

=== Status ===

''Regression tests'' consist of tests written to test conditions found by specific VM bugs.
So each test has a bug number in its package name.

''Regression tests'' located in directories three started from `trunk/working_vm/src/test/regression/tests`.

[#Summary Back to Summary]
=== Building Regression tests ===

To build ''Regression tests'' you need just to run them in any configuration. Even running
one test case compiles all the tests in the suite.

[#Summary Back to Summary]
=== Running Regression tests ===

All ''Regression tests'' run with
ant reg.test

There are common rules of running all of the ''Regression tests''.

You can set binary configuration through a command line option or an environment variable:
export BUILD_CFG=[release|debug]
By default 'debug' mode is set.

Each regression test has its own specific run file which contains the modes for test execution.
For example some tests run in server mode or server_static mode. So specifying -Dtest.mode
like in other VM test suites makes no effect.

Also you can specify a given test to be run, for example:

The known point is that if you what to run the test from direct command without ant adaptors,
then get execution command from ant debug output, for example with the following command:
ant -d reg.test

[#Summary Back to Summary]
[wiki:Self:DRLVMTestTracking Back to DRLVM Test Tracking]

View raw message