forked from robovm/drlvm-vts-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
125 lines (77 loc) · 3.22 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
=================
VTS VM Test Suite
=================
Archive Content
---------------
This archive contains VTS VM test suite for testing Java* Virtual Machine
and tools, required for its building and running.
The structure and content of the archive is as follows:
<ROOT_DIR>
|
\---tools - Tools, required for building and running VTS VM test suite
| |
| +-harness - Test Harness tool for running VTS VM test suite
| |
| +-share - Shared sources needed for building tools and tests
| |
| +-vmtt - VMTT tool for compiling *.ccode files
|
|
\---vts - VTS VM test suite sources
Pre-requisites for Building VTS VM
----------------------------------
To build VTS VM suite the following tools are required to be preinstalled
on your system:
1) JDK version 1.5.0
http://java.sun.com
http://www.jrockit.com/
2) Apache Ant, version 1.6 or higher
http://ant.apache.org
3) C compiler, either gcc for Linux*, or one of the following for Windows*:
+ Microsoft* 32-bit C/C++ Compiler v.7 or higher,
+ Windows* platform SDK,
+ Microsoft* Visual Studio .NET* 2003 or higher
http://www.microsoft.com/downloads/
The following components will be self-downloaded during the build:
1) Ant Cpp Tasks collection
http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=28636
2) Ant-Contrib collection of tasks, version 1.0b1 or higher
http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=28636
3) xercesImpl.jar and xml-apis.jar
http://www.apache.org/dist/xml/xerces-j
4) jasmin.jar
http://sourceforge.net/projects/jasmin
BUILDING VTS VM
---------------
To build VTS VM suite:
0) setup environment variables:
JAVA_HOME - with path to JDK 1.5
ANT_HOME - with path to to Ant
PATH - with path to directory containing ant scripts (ANT_HOME/bin)
CLASSPATH - with path to junit.jar (or place junit.jar into ANT_HOME/lib)
1) Go to vts/vm/build/ directory:
> cd vts/vm/build/
2) Setup the workspace for local use:
> ant setup
- this will build supporting frameworks (Test Harness and VMTT tool)
and create build configuration files.
3) Edit build.properties file to set up path to JDK home, tested VM
and proxy settings (if you're using it)
4) download external dependencies:
> ant fetch-depends
- it will download and check external tools needed
for building and running VTS VM test suite.
5) and finally to build and run the suite:
> ant build-vts
> ant run-tests
or simple:
> ant
6) built VTS and test execution results will be placed under
vts/dest
directory.
KNOWN ISSUES
------------
If you meet Out Of Memory error while building the suite, try
to extends ANT_OPTS system variable with the following option:
export ANT_OPTS="-XX:MaxPermSize=512m"
*) Other brands and names are the property of their respective owners