[df2978]: testing / tests / basic / build.xml  Maximize  Restore  History

Download this file

159 lines (135 with data), 9.9 kB

  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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!--
~ This file is part of the Jikes RVM project (http://jikesrvm.org).
~
~ This file is licensed to You under the Eclipse Public License (EPL);
~ You may not use this file except in compliance with the License. You
~ may obtain a copy of the License at
~
~ http://www.opensource.org/licenses/eclipse-1.0.php
~
~ See the COPYRIGHT.txt file distributed with this work for information
~ regarding copyright ownership.
-->
<project name="basic" default="test" basedir=".">
<condition property="test.time.limit" value="1000" else="400">
<equals arg1="${test.mode}" arg2="gcstress"/>
</condition>
<property name="test.max.heapsize" value="150"/>
<import file="../../../build/tests.xml"/>
<property name="main.java" location="${basedir}/src"/>
<property name="build.classes" location="${build.tests.dir}/classes"/>
<property name="test.class.path" value="${build.classes}"/>
<!-- **************************************************************************** -->
<!-- * * -->
<!-- * Compile the tests * -->
<!-- * * -->
<!-- **************************************************************************** -->
<target name="compile" depends="init">
<mkdir dir="${build.classes}"/>
<javac srcdir="${main.java}" destdir="${build.classes}" debug="true">
<!-- need extra classpath for vmmagic -->
<classpath>
<pathelement path="${test.rvm.dir}/jksvm.jar"/>
</classpath>
</javac>
<jar file="${build.tests.dir}/AgentX.jar" basedir="${build.classes}" includes="**/AgentX.class">
<manifest>
<attribute name="Premain-Class" value="test.org.jikesrvm.basic.core.instrument.AgentX"/>
</manifest>
</jar>
<jar file="${build.tests.dir}/IdentityAgent.jar"
basedir="${build.classes}"
includes="**/IdentityClassFileTransformer.class">
<manifest>
<attribute name="Premain-Class" value="test.org.jikesrvm.basic.util.IdentityClassFileTransformer"/>
</manifest>
</jar>
</target>
<!-- **************************************************************************** -->
<!-- * * -->
<!-- * Run the tests * -->
<!-- * * -->
<!-- **************************************************************************** -->
<target name="test" depends="compile">
<startResults/>
<runCompareTest tag="TestClassHierarchy" class="test.org.jikesrvm.basic.core.bytecode.TestClassHierarchy"/>
<runCompareTest tag="TestArithmetic" class="test.org.jikesrvm.basic.core.bytecode.TestArithmetic"/>
<runCompareTest tag="TestArrayAccess" class="test.org.jikesrvm.basic.core.bytecode.TestArrayAccess"/>
<runCompareTest tag="TestCompare" class="test.org.jikesrvm.basic.core.bytecode.TestCompare"/>
<runCompareTest tag="TestThrownException" class="test.org.jikesrvm.basic.core.bytecode.TestThrownException"/>
<runCompareTest tag="TestSwitch" class="test.org.jikesrvm.basic.core.bytecode.TestSwitch"/>
<runCompareTest tag="TestInvoke" class="test.org.jikesrvm.basic.core.bytecode.TestInvoke"/>
<runCompareTest tag="TestClassInitializer" class="test.org.jikesrvm.basic.core.bytecode.TestClassInitializer"/>
<runCompareTest tag="TestMiranda" class="test.org.jikesrvm.basic.core.bytecode.TestMiranda"/>
<runCompareTest tag="TestInstanceOf" class="test.org.jikesrvm.basic.core.bytecode.TestInstanceOf"/>
<runCompareTest tag="TestClone" class="test.org.jikesrvm.basic.core.bytecode.TestClone"/>
<runCompareTest tag="TestFinally" class="test.org.jikesrvm.basic.core.bytecode.TestFinally"/>
<runCompareTest tag="TestReturn" class="test.org.jikesrvm.basic.core.bytecode.TestReturn"/>
<runCompareTest tag="TestFieldAccess" class="test.org.jikesrvm.basic.core.bytecode.TestFieldAccess"/>
<runCompareTest tag="TestFloatingRem" class="test.org.jikesrvm.basic.core.bytecode.TestFloatingRem"/>
<runCompareTest tag="TestConstants" class="test.org.jikesrvm.basic.core.bytecode.TestConstants"/>
<runCompareTest tag="TestAnnotations" class="test.org.jikesrvm.basic.core.annotation.TestAnnotations"/>
<runCompareTest tag="TestAnnotationInheritance" class="test.org.jikesrvm.basic.core.annotation.TestAnnotationInheritance"/>
<runCompareTest tag="TestResolveOnInvokeInterface"
class="test.org.jikesrvm.basic.core.bytecode.TestResolveOnInvokeInterface"
rvmArgs="-javaagent:${build.tests.dir}/IdentityAgent.jar"/>
<runCompareTest tag="TestResolveOnCheckcast"
class="test.org.jikesrvm.basic.core.bytecode.TestResolveOnCheckcast"
rvmArgs="-javaagent:${build.tests.dir}/IdentityAgent.jar"/>
<runCompareTest tag="TestResolveOnInstanceof"
class="test.org.jikesrvm.basic.core.bytecode.TestResolveOnInstanceof"
rvmArgs="-javaagent:${build.tests.dir}/IdentityAgent.jar"/>
<runCompareTest tag="tClass" class="test.org.jikesrvm.basic.core.reflect.tClass"/>
<runCompareTest tag="tArray" class="test.org.jikesrvm.basic.core.reflect.tArray"/>
<runCompareTest tag="TestFieldReflection" class="test.org.jikesrvm.basic.core.reflect.TestFieldReflection"/>
<runCompareTest tag="tInstance" class="test.org.jikesrvm.basic.core.reflect.tInstance"/>
<runCompareTest tag="tNewInstance" class="test.org.jikesrvm.basic.core.reflect.tNewInstance"/>
<runCompareTest tag="TestDispatch" class="test.org.jikesrvm.basic.core.threads.TestDispatch"/>
<runCompareTest tag="TestBackEdgeGC" class="test.org.jikesrvm.basic.core.threads.TestBackEdgeGC"/>
<runCompareTest tag="TestNotification" class="test.org.jikesrvm.basic.core.threads.TestNotification"/>
<runCompareTest tag="TestTimedWait" class="test.org.jikesrvm.basic.core.threads.TestTimedWait"/>
<runCompareTest tag="TestInterruptAndSpin" class="test.org.jikesrvm.basic.core.threads.TestInterruptAndSpin"/>
<runCompareTest tag="TestInterruptedSleep" class="test.org.jikesrvm.basic.core.threads.TestInterruptedSleep"/>
<runCompareTest tag="TestInterruptedSleep2" class="test.org.jikesrvm.basic.core.threads.TestInterruptedSleep2"/>
<runCompareTest tag="TestInterruptedWait" class="test.org.jikesrvm.basic.core.threads.TestInterruptedWait"/>
<runCompareTest tag="TestParallelHardwareTrap" class="test.org.jikesrvm.basic.core.threads.TestParallelHardwareTrap"/>
<runCompareTest tag="TestStop" class="test.org.jikesrvm.basic.core.threads.TestStop"/>
<runCompareTest tag="TestSuspend" class="test.org.jikesrvm.basic.core.threads.TestSuspend"/>
<runCompareTest tag="TestTimeSlicing" class="test.org.jikesrvm.basic.core.threads.TestTimeSlicing"/>
<runCompareTest tag="TestVolatiles" class="test.org.jikesrvm.basic.core.threads.TestVolatiles"/>
<runCompareTest tag="TestShutdownHook" class="test.org.jikesrvm.basic.core.threads.TestShutdownHook" timeLimit="20"/>
<runCompareTest tag="TestShutdownHookAfterExit" class="test.org.jikesrvm.basic.core.threads.TestShutdownHookAfterExit"/>
<runCompareTest tag="TestSerialization" class="test.org.jikesrvm.basic.core.serialization.TestSerialization"
classpath="${build.classes}:${main.java}"/>
<runCompareTest tag="TestUTF8" class="test.org.jikesrvm.basic.core.classloading.TestUTF8"/>
<runCompareTest tag="TestClassLoading" class="test.org.jikesrvm.basic.core.classloading.TestClassLoading"/>
<runCompareTest tag="TestLoadingWithoutName" class="test.org.jikesrvm.basic.core.classloading.TestLoadingWithoutName"/>
<runCompareTest tag="TestMath" class="test.org.jikesrvm.basic.java.lang.TestMath"/>
<runCompareTest tag="TestFileChannel" class="test.org.jikesrvm.basic.java.nio.TestFileChannel"/>
<runCompareTest tag="TestAgent" class="test.org.jikesrvm.basic.core.instrument.TestAgent"
rvmArgs='-javaagent:${build.tests.dir}/AgentX.jar="Option1"'/>
<rvm tag="ImageSizes" class="test.org.jikesrvm.basic.stats.JikesImageSizes"
args="${test.rvm.dir}/RVM.code.image ${test.rvm.dir}/RVM.data.image ${test.rvm.dir}/RVM.rmap.image"/>
<outputTestStart tag="ImageSizes"/>
<outputStatisticStart/>
<extractStatistic tag="ImageSizes" key="code.size" pattern="Code Size: (.*)"/>
<extractStatistic tag="ImageSizes" key="data.size" pattern="Data Size: (.*)"/>
<extractStatistic tag="ImageSizes" key="rmap.size" pattern="Rmap Size: (.*)"/>
<extractStatistic tag="ImageSizes" key="total.size" pattern="Total Size: (.*)"/>
<outputStatisticEnd/>
<outputTestResults tag="ImageSizes"/>
<outputTestEnd/>
<displayTestResults tag="ImageSizes"/>
<runCompareTest tag="R1644460" class="test.org.jikesrvm.basic.bugs.R1644460"/>
<runCompareTest tag="R1644460_B" class="test.org.jikesrvm.basic.bugs.R1644460_B"/>
<runCompareTest tag="R1644449" class="test.org.jikesrvm.basic.bugs.R1644449"/>
<runCompareTest tag="R1657236" class="test.org.jikesrvm.basic.bugs.R1657236"/>
<runCompareTest tag="R1722506" class="test.org.jikesrvm.basic.bugs.R1722506"/>
<runCompareTest tag="RVM_550" class="test.org.jikesrvm.basic.bugs.RVM_550"/>
<runCompareTest tag="RVM_703" class="test.org.jikesrvm.basic.bugs.RVM_703"/>
<runCompareTest tag="RVM_708" class="test.org.jikesrvm.basic.bugs.RVM_708"/>
<runCompareTest tag="RVM_914" class="test.org.jikesrvm.basic.bugs.RVM_914"/>
<runCompareTest tag="RVM_915" class="test.org.jikesrvm.basic.bugs.RVM_915"/>
<finishResults/>
</target>
</project>

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks