blob: d72002db92a161c34ec8a3c53eede3831d05f1bc [file] [log] [blame]
<?xml version="1.0"?>
<project
name="WTP Performance"
default="default"
basedir=".">
<property
name="library-xml-file"
value="${basedir}/plugins/org.eclipse.test_3.2.0/library.xml" />
<import file="${library-xml-file}" />
<target name="ui-test">
<antcall target="ui-test-normal" />
<antcall target="ui-test-perf" />
</target>
<target name="core-test">
<antcall target="core-test-normal" />
<antcall target="core-test-perf" />
</target>
<target
name="ui-test-normal"
unless="runAsPerfApp">
<antcall target="run">
<param
name="target"
value="ui-test" />
</antcall>
</target>
<target
name="core-test-normal"
unless="runAsPerfApp">
<antcall target="run">
<param
name="target"
value="core-test" />
</antcall>
</target>
<target
name="ui-test-perf"
if="runAsPerfApp">
<antcall target="run">
<param
name="target"
value="eclipse-test" />
<param
name="application"
value="org.eclipse.wst.common.tests.performance.uitestapplication" />
</antcall>
</target>
<target
name="core-test-perf"
if="runAsPerfApp">
<antcall target="run">
<param
name="target"
value="eclipse-test" />
<param
name="application"
value="org.eclipse.wst.common.tests.performance.coretestapplication" />
</antcall>
</target>
<target name="run">
<property
name="eclipse.perf.dbloc"
value="-Declipse.perf.dbloc=${build.home}/${perf.dbloc}" />
<property
name="eclipse.perf.config"
value="-Declipse.perf.config=config=${perf.config};build=${perf.buildId};jvm=${perf.jvm}" />
<property
name="eclipse.perf.assertAgainst"
value="-Declipse.perf.assertAgainst=config=${perf.ref.config};build=${perf.ref.buildId};jvm=${perf.ref.jvm}" />
<property
name="extraVMargs"
value="" />
<ant
target="${target}"
antfile="${library-xml-file}"
dir="${basedir}">
<property
name="application"
value="${application}" />
<property
name="data-dir"
value="${data-dir}" />
<property
name="plugin-name"
value="${plugin-name}" />
<property
name="classname"
value="${classname}" />
<property
name="extraVMargs"
value="${eclipse.perf.dbloc} ${eclipse.perf.config} ${eclipse.perf.assertAgainst} ${extraVMargs} -Dwtp.autotest.noninteractive=true" />
</ant>
</target>
<target name="default" />
</project>