Differences between revisions 6 and 7
Revision 6 as of 2008-04-22 15:01:12
Size: 2765
Editor: vmz
Comment:
Revision 7 as of 2009-09-20 21:54:45
Size: 2779
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[wiki:Self:DRLVMTestTracking Back to DRLVM Test Tracking] [[DRLVMTestTracking|Back to DRLVM Test Tracking]]
Line 3: Line 3:
[[Anchor(Summary)]] <<Anchor(Summary)>>
Line 6: Line 6:
[#Status Mission and Status][[BR]]
[#HowTo How to run GUT][[BR]]
1. [#Configuration Configuration][[BR]]
2. [#Setup Setup][[BR]]
3. [#Run Run][[BR]]
4. [#Results Results]
[[#Status|Mission and Status]]<<BR>>
[[#HowTo|How to run GUT]]<<BR>>
1. [[#Configuration|Configuration]]<<BR>>
2. [[#Setup|Setup]]<<BR>>
3. [[#Run|Run]]<<BR>>
4. [[#Results|Results]]
Line 13: Line 13:
[[Anchor(Status)]] <<Anchor(Status)>>
Line 26: Line 26:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 28: Line 28:
[[Anchor(HowTo)]] <<Anchor(HowTo)>>
Line 31: Line 31:
[[Anchor(Configuration)]] <<Anchor(Configuration)>>
Line 47: Line 47:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 49: Line 49:
[[Anchor(Setup)]] <<Anchor(Setup)>>
Line 61: Line 61:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 63: Line 63:
[[Anchor(Run)]] <<Anchor(Run)>>
Line 83: Line 83:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 85: Line 85:
[[Anchor(Results)]] <<Anchor(Results)>>
Line 96: Line 96:
[#Summary Back to Summary]
[[Anchor(EOF)]]
[[#Summary|Back to Summary]]
<<Anchor(EOF)>>

Back to DRLVM Test Tracking

Summary

Mission and Status
How to run GUT
1. Configuration
2. Setup
3. Run
4. Results

Mission and Status

Test Harmony with Geronimo Unit Tests (version 2.0.2) to achieve 100% valid test pass rate on Linux x86, Linux x86-64, Windows x86 and Windows x86-64 platforms.

Currently the stated pass rate is achieved successfully. Please see the testing results at automated testing report page which is:

http://people.apache.org/~mloenko/snapshot_testing/script/snapshots_summary.html

When Geronimo v2.1.1 is released, the suite should be migrated to that newer version.

Back to Summary

How to run GUT

1. Configuration

Make sure that PATH environment variable contains JDK 1.5 (use RI) and Apache Ant (v1.6.5 or later), and that JAVA_HOME and ANT_HOME are properly set up. If you use proxy server, specify proxy settings by setting ANT_OPTS environment variable:

Windows:
    set ANT_OPTS="-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=1111"

Linux:
    export ANT_OPTS="-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=1111"

Back to Summary

2. Setup

If you want to only run GUT, checkout and build as follows:

$ svn checkout http://svn.apache.org/repos/asf/harmony/enhanced/buildtest/trunk/tests/gut gut

$ cd gut
$ ant setup

Back to Summary

3. Run

Edit the gut/gut.properties file:

  • specify JRE to test, like working_vm/deploy/jdk/jre (use forward '/' slashes!)
  • check the vm.options property
  • make sure the specified Geronimo and Maven versions and locations are correct

Check the gut/exclude.list.${os}.${arch} files, where ${os}.${arch} can be linux.x86, linux.x86_64, windows.x86, or windows.x86_64. These files contain the current actual exclude lists with respective comments. You may edit them if necessary.

To run the tests, do:

$ cd gut
$ ant

Back to Summary

4. Results

After the run, you would find the results at gut/results/<timestamp> directory, containing the following files:

  • output.txt - complete test output log
  • report.txt - results summary, number of failures and errors
  • TESTS-TestSuites.xml - XML test results

  • reports directory - contains outputs for particular tests
  • html directory - contains HTML report, open index.html to browse

Back to Summary

GUT_Tests (last edited 2009-09-20 21:54:45 by localhost)